Creating a Key from a Passwort using AES

Hi,How can i generate a key from a String?The key must have the length of 16 bytes.regards
[118 byte] By [Oleka] at [2007-11-27 9:33:40]
# 1
There are many possibilities for converting a String to 16 bytes but it sounds to me like you are trying to do a form of Password Based Encryption (PBE) ins which case you should use the PBE algorithms available in the JCE.
sabre150a at 2007-7-12 22:55:43 > top of Java-index,Security,Cryptography...