Re: Encrypt from buffer Instead of a file

2007-11-28 Thread Dr. Stephen Henson
On Wed, Nov 28, 2007, Lidia Fernndez wrote: > Hello all! > > I have created a c file where i encrypt with aes128, and is all good!! I > have create a mini-code that do the same that the command: > >"openssl enc -a -aes128 -in file.txt -out file.enc -pass > pass:12345678" > > In my code,

Encrypt from buffer Instead of a file

2007-11-28 Thread Lidia Fernández
Hello all! I have created a c file where i encrypt with aes128, and is all good!! I have create a mini-code that do the same that the command: "openssl enc -a -aes128 -in file.txt -out file.enc -pass pass:12345678" In my code, i have a file that contents the data and i create a BIO: