Page 1 of 1

AES String System

Posted: Mon Mar 02, 2015 12:57 am
by Atton
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.

Re: AES String System

Posted: Mon Mar 02, 2015 4:46 am
by paulej
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?

Re: AES String System

Posted: Mon Mar 02, 2015 5:41 am
by Atton
Funny I can't seem to find anything related to string encryption or char array encryption, connected to the C code.

Re: AES String System

Posted: Mon Mar 02, 2015 2:59 pm
by paulej
It's on the download page. Here's a link: https://www.aescrypt.com/download/

Re: AES String System

Posted: Tue Mar 03, 2015 9:47 am
by Atton
Thanks I'll give that bugger a go.

Re: AES String System

Posted: Fri Mar 06, 2015 5:48 am
by Atton

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.

Re: AES String System

Posted: Fri Mar 06, 2015 7:12 am
by paulej
They're defined is the AESStringCrypt.c file. How would you know they don't exist if they didn't exist?

Re: AES String System

Posted: Fri Mar 06, 2015 9:42 am
by Atton
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.