On 06/21/2011 07:40 AM, florent ainardi wrote:
> hello all
> i would like to use the aes cipher in cbc and ecb mode with nss
> but i don't how can i can start my program
> here is the task of my program
> 1- read a text file
> 2- save it into a buffer
> 3- cipher the buffer with aes provided by aes
You are missing a very important piece of information here: Where is the
key coming from?

Management of the key material is a critical component in securing your
data. If you just give the key away, you aren't secure.
Dealing with the key is 90% of the complexity of an encryption program.
The rest is pretty straight forward.

bob
> 4- save the cipher data into a file
> 5-end
>
> and the same thing for a file
> but i don't how to start
> i use polarssl library and the api doc is very simple
> please help using the NSS library from mozilla

> regards all


-- 
dev-tech-crypto mailing list
dev-tech-crypto@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-tech-crypto

Reply via email to