public interface EncryptionService
| Modifier and Type | Field and Description | 
|---|---|
| static String | ENCRYPTION_POST_PREFIX | 
| static String | HASH_POST_PREFIX | 
| Modifier and Type | Method and Description | 
|---|---|
| String | decrypt(String ciphertext)Decrypts a value | 
| byte[] | decryptBytes(byte[] ciphertext)Decrypts a value | 
| String | encrypt(Object valueToHide)Encrypts a value | 
| byte[] | encryptBytes(byte[] valueToHide)Encrypts a value | 
| String | hash(Object valueToHide)Hashes a value (for one-way transformations) | 
| boolean | isEnabled()Returns true if encryption is enabled within KEW, false otherwise. | 
static final String ENCRYPTION_POST_PREFIX
static final String HASH_POST_PREFIX
String encrypt(Object valueToHide) throws GeneralSecurityException
valueToHide - - original valueGeneralSecurityExceptionbyte[] encryptBytes(byte[] valueToHide) throws GeneralSecurityException
valueToHide - - original valueGeneralSecurityExceptionString decrypt(String ciphertext) throws GeneralSecurityException
ciphertext - - encrypted valueGeneralSecurityExceptionbyte[] decryptBytes(byte[] ciphertext) throws GeneralSecurityException
ciphertext - - encrypted valueGeneralSecurityExceptionboolean isEnabled()
String hash(Object valueToHide) throws GeneralSecurityException
valueToHide - - original valueGeneralSecurityExceptionCopyright © 2005–2015 The Kuali Foundation. All rights reserved.