public class StaticDESPasswordCipher extends Object implements PasswordCipher
PasswordCipher implementation uses a the Triple-DES encryption
algorithm.| Constructor and Description |
|---|
StaticDESPasswordCipher() |
public char[] encrypt(String plainPassword)
PasswordCipherencrypt in interface PasswordCipherplainPassword - The password to encode. May not be null, nor empty.RuntimeException - in any case of error.PasswordCipher.encrypt(String)public String decrypt(char[] encodedPassword)
PasswordCipherdecrypt in interface PasswordCipherencodedPassword - The ciphered password to decode. May not be null,
nor empty.RuntimeException - in any case of error.PasswordCipher.decrypt(char[])Copyright © 1999–2014 The Apache Software Foundation. All rights reserved.