Re: How to encript raw data

2008-09-17 Thread Nelson B Bolyard
Francisco Puentes wrote, On 2008-09-17 14:27: > Yes, I know. > > Precisely I need RSA to encrypt a buffer to exchange sessions keys (very > small xml document), which will be used to encrypt the session with AES. > > So :-) Can NSS encrypt raw data? With RSA? NSS was designed around the FIPS 14

RE: How to encript raw data

2008-09-17 Thread Francisco Puentes
Enviado el: miƩrcoles, 17 de septiembre de 2008 22:20 Para: dev-tech-crypto@lists.mozilla.org Asunto: Re: How to encript raw data Francisco Puentes wrote, On 2008-09-17 11:43: > Can NSS encrypt raw data? > > I have got into my code a pair of RSA keys generated and now I need > enc

Re: How to encript raw data

2008-09-17 Thread Nelson Bolyard
Francisco Puentes wrote, On 2008-09-17 11:43: > Can NSS encrypt raw data? > > I have got into my code a pair of RSA keys generated and now I need > encrypt/decrypt binary data. > Something like: > > RSA_encrypt([public or private]key, void*in_data, long in_length, > void*out_data, long*out

How to encript raw data

2008-09-17 Thread Francisco Puentes
Can NSS encrypt raw data? I have got into my code a pair of RSA keys generated and now I need encrypt/decrypt binary data. Something like: RSA_encrypt([public or private]key, void*in_data, long in_length, void*out_data, long*out_length); Does it exist?