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