public class ClientEncryptionService extends EncryptionServiceImpl
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CIPHER_ALGORITHM |
static java.lang.String |
KEY_SPEC_ALGORITHM |
Constructor and Description |
---|
ClientEncryptionService(java.lang.String passphrase,
java.lang.String salt,
int keylength,
int iterations) |
Modifier and Type | Method and Description |
---|---|
byte[] |
decrypt(byte[] ciphertextIV) |
decryptFromHex, encrypt, encrypt
public static final java.lang.String KEY_SPEC_ALGORITHM
public static final java.lang.String CIPHER_ALGORITHM
public ClientEncryptionService(java.lang.String passphrase, java.lang.String salt, int keylength, int iterations)
public byte[] decrypt(byte[] ciphertextIV)
decrypt
in interface EncryptionService
decrypt
in class EncryptionServiceImpl