org.kuali.common.util.enc
Class EncUtils
java.lang.Object
org.kuali.common.util.enc.EncUtils
public class EncUtils
- extends Object
Method Summary |
static org.jasypt.util.text.TextEncryptor |
getTextEncryptor(String password)
Returns a BasicTextEncryptor that uses password to encrypt/decrypt. |
static org.jasypt.util.text.TextEncryptor |
getTextEncryptor(String password,
EncStrength strength)
Return a BasicTextEncryptor or StrongTextEncryptor depending on what strength is set to |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EncUtils
public EncUtils()
getTextEncryptor
public static org.jasypt.util.text.TextEncryptor getTextEncryptor(String password)
- Returns a
BasicTextEncryptor
that uses password
to encrypt/decrypt.
getTextEncryptor
public static org.jasypt.util.text.TextEncryptor getTextEncryptor(String password,
EncStrength strength)
- Return a
BasicTextEncryptor
or StrongTextEncryptor
depending on what strength
is set to
Copyright © 2010-2013 The Kuali Foundation. All Rights Reserved.