AES String System

Discussion related to AES Crypt, the file encryption software for Windows, Linux, Mac, and Java.
Post Reply
Atton
Posts: 5
Joined: Mon Mar 02, 2015 12:23 am

AES String System

Post by Atton » Mon Mar 02, 2015 12:57 am

I have what I would be a rather simple question, how would one encrypt and decrypt strings with the AES implementation used in AES Crypt. How could this be done and would it also accept a string as a key.

User avatar
paulej
Posts: 524
Joined: Sun Aug 23, 2009 7:32 pm
Location: Research Triangle Park, NC, USA
Contact:

Re: AES String System

Post by paulej » Mon Mar 02, 2015 4:46 am

One of the downloads from the download page is a library in C that does string encryption. It produces a string in "version 0" format, which could be written to a file and read using the C versions of the Windows, Linux, and Mac versions.

Are you asking about that or just missed that package?

Atton
Posts: 5
Joined: Mon Mar 02, 2015 12:23 am

Re: AES String System

Post by Atton » Mon Mar 02, 2015 5:41 am

Funny I can't seem to find anything related to string encryption or char array encryption, connected to the C code.

User avatar
paulej
Posts: 524
Joined: Sun Aug 23, 2009 7:32 pm
Location: Research Triangle Park, NC, USA
Contact:

Re: AES String System

Post by paulej » Mon Mar 02, 2015 2:59 pm

It's on the download page. Here's a link: https://www.aescrypt.com/download/

Atton
Posts: 5
Joined: Mon Mar 02, 2015 12:23 am

Re: AES String System

Post by Atton » Tue Mar 03, 2015 9:47 am

Thanks I'll give that bugger a go.

Atton
Posts: 5
Joined: Mon Mar 02, 2015 12:23 am

Re: AES String System

Post by Atton » Fri Mar 06, 2015 5:48 am

Code: Select all

unsigned long long AESStringCrypt(  char *password,
                                    unsigned long password_length,
                                    char *plaintext,
                                    unsigned long long plaintext_length,
                                    char *ciphertext);

unsigned long long AESStringDecrypt(char *password,
                                    unsigned long password_length,
                                    char *ciphertext,
                                    unsigned long long ciphertext_length,
                                    char *plaintext);
These functions don't seem to exist.

User avatar
paulej
Posts: 524
Joined: Sun Aug 23, 2009 7:32 pm
Location: Research Triangle Park, NC, USA
Contact:

Re: AES String System

Post by paulej » Fri Mar 06, 2015 7:12 am

They're defined is the AESStringCrypt.c file. How would you know they don't exist if they didn't exist?

Atton
Posts: 5
Joined: Mon Mar 02, 2015 12:23 am

Re: AES String System

Post by Atton » Fri Mar 06, 2015 9:42 am

paulej wrote:They're defined is the AESStringCrypt.c file. How would you know they don't exist if they didn't exist?
I see I should say used different language, I see where they are now.
Thank for your help.

Post Reply