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 »

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: 595
Joined: Sun Aug 23, 2009 7:32 pm
Location: Research Triangle Park, NC, USA
Contact:

Re: AES String System

Post 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?
Atton
Posts: 5
Joined: Mon Mar 02, 2015 12:23 am

Re: AES String System

Post by Atton »

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: 595
Joined: Sun Aug 23, 2009 7:32 pm
Location: Research Triangle Park, NC, USA
Contact:

Re: AES String System

Post by paulej »

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 »

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 »

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: 595
Joined: Sun Aug 23, 2009 7:32 pm
Location: Research Triangle Park, NC, USA
Contact:

Re: AES String System

Post by paulej »

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 »

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