Encrypting a String with DES : DES « Security « Java
Encrypting a String with DES import javax.crypto.Cipher; import javax.crypto.KeyGenerator; import javax.crypto.SecretKey; class DesEncrypter { Cipher ecipher; Cipher dcipher; DesEncrypter(SecretKey key) throws Exception { ecipher = Cipher.getInstance("DES...