public class StringEncrypter extends Object
Modifier and Type | Class and Description |
---|---|
static class |
StringEncrypter.EncryptionException |
Modifier and Type | Field and Description |
---|---|
static String |
DEFAULT_ENCRYPTION_KEY |
static String |
DES_ENCRYPTION_SCHEME |
static String |
DESEDE_ENCRYPTION_SCHEME |
Constructor and Description |
---|
StringEncrypter(String encryptionScheme) |
StringEncrypter(String encryptionScheme,
String encryptionKey) |
public static final String DESEDE_ENCRYPTION_SCHEME
public static final String DES_ENCRYPTION_SCHEME
public static final String DEFAULT_ENCRYPTION_KEY
public StringEncrypter(String encryptionScheme) throws StringEncrypter.EncryptionException
public StringEncrypter(String encryptionScheme, String encryptionKey) throws StringEncrypter.EncryptionException
public String encrypt(String unencryptedString) throws StringEncrypter.EncryptionException
public String decrypt(String encryptedString) throws StringEncrypter.EncryptionException
Copyright © 2008-2014 Logical Objects. All Rights Reserved.