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 CryptoEngine
public String encrypt(String salt, String password, String textToEncrypt)
encrypt
in interface CryptoEngine
public String decrypt(String salt, String password, String encrypted)
decrypt
in interface CryptoEngine
public String hash(String salt, String password)
hash
in interface CryptoEngine
public String generateSalt()
generateSalt
in interface CryptoEngine
Copyright © 2015. All rights reserved.