public class BasicCryptoEngine extends Object implements CryptoEngine
| Modifier and Type | Field and Description |
|---|---|
static String |
BASIC_CRYPTO |
| Constructor and Description |
|---|
BasicCryptoEngine() |
| Modifier and Type | Method and Description |
|---|---|
String |
decrypt(String salt,
String password,
String encryptedText) |
String |
encrypt(String salt,
String password,
String textToEncrypt) |
String |
generateSalt() |
String |
getDescriptor() |
String |
hash(String salt,
String password) |
public static final String BASIC_CRYPTO
public String getDescriptor()
getDescriptor in interface CryptoEnginepublic String encrypt(String salt, String password, String textToEncrypt) throws JasDBSecurityException
encrypt in interface CryptoEngineJasDBSecurityExceptionpublic String decrypt(String salt, String password, String encryptedText) throws JasDBSecurityException
decrypt in interface CryptoEngineJasDBSecurityExceptionpublic String hash(String salt, String password) throws JasDBSecurityException
hash in interface CryptoEngineJasDBSecurityExceptionpublic String generateSalt()
generateSalt in interface CryptoEngineCopyright © 2015. All rights reserved.