Re: Usage of AES question

2003-12-05 Thread Jostein Tveit
Jason Haar <[EMAIL PROTECTED]> writes: > The principle in PKI is that you generate a private and public key using > RSA or DH (?). Diffie-Hellmann is a key agreement protocol. You can agree on a secret with another person and no passive listener can get that secret. DH can not stop an active att

Re: Usage of AES question

2003-12-04 Thread Richard Levitte - VMS Whacker
In message <[EMAIL PROTECTED]> on Fri, 05 Dec 2003 12:06:16 +1300, Jason Haar <[EMAIL PROTECTED]> said: Jason.Haar> On Fri, 2003-12-05 at 03:25, Vadim Fedukovich wrote: Jason.Haar> > > As far as I know AES is a symmetrical Algorithm which does not use Jason.Haar> > > Public Keys. So the password

Re: Usage of AES question

2003-12-04 Thread Jason Haar
On Fri, 2003-12-05 at 03:25, Vadim Fedukovich wrote: > > As far as I know AES is a symmetrical Algorithm which does not use > > Public Keys. So the password you give (or more probably a hash of the > > password) will be the key for en- and decrypting the data. > > Doing so would result in a one

Re: Usage of AES question

2003-12-04 Thread Amar Desai
I hope this will help you. http://www.openssl.org/docs/crypto/EVP_BytesToKey.html You can use passphrase along with some random data to derive a key and then use that key to encryptand to decrypt data. Regards Amar > Hi, > > i need to encrypt a file using AES, and I want to use some sort of p

Re: Usage of AES question

2003-12-04 Thread Rich Salz
i need to encrypt a file using AES, and I want to use some sort of private key which encrypts and decrypts, with a passphrase. You mean like PKCS#12? /r$ -- Rich Salz, Chief Security Architect DataPower Technology http://www.datapower.com XS40 XML Security Gateway

Re: Usage of AES question

2003-12-04 Thread Bernhard Froehlich
Vadim Fedukovich wrote: On Thu, Dec 04, 2003 at 02:28:16PM +0100, Bernhard Froehlich wrote: Bart Matthaei wrote: Hi, i need to encrypt a file using AES, and I want to use some sort of private key which encrypts and decrypts, with a passphrase. I found documentation on how to generate RSA