com.xebialabs.deployit.util
Class PasswordEncrypter
java.lang.Object
com.xebialabs.deployit.util.PasswordEncrypter
public class PasswordEncrypter
- extends java.lang.Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
init
public static void init(javax.crypto.SecretKey secretKey)
getInstance
public static PasswordEncrypter getInstance()
isEncoded
public boolean isEncoded(java.lang.String text)
isEncrypted
public boolean isEncrypted(java.lang.String text)
encrypt
public java.lang.String encrypt(java.lang.String plaintext)
ensureEncrypted
public java.lang.String ensureEncrypted(java.lang.String text)
decrypt
public java.lang.String decrypt(java.lang.String encryptedText)
ensureDecrypted
public java.lang.String ensureDecrypted(java.lang.String text)