On Mon Apr 22 2002; 17:55, kingruedi wrote: > Is there a way to get a 32 byte AES256 key from the user password? There is an easy way to solve your problem. 1. Generate a 256 bit random key. 2. Use the digest output of the passphrase (MD5/RMD160/SHA1). 3. Encrypt the key from step one with the digest key. 4. Encrypt the data with the key from step one. [hopefully it is clear] Timo