On Jun 22, 12:14 am, Robert Relyea <rrel...@redhat.com> wrote:
> 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

hello bob
thanks for replying
but i had to implement in a simple program the aes cipher algo,
doesn't matter the way of how i give the key, it's not the priority
my priority first is to show to my boss how can i implement the aes
from mozilla libs in a simple way
and after that we start thinking about the key
if you have sample of code in C to implement the aes algorithm i am
interrested in

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

Reply via email to