public class GenericCryptor extends CryptorBase
Constructor and Description |
---|
GenericCryptor() |
GenericCryptor(javax.crypto.Cipher cipher) |
GenericCryptor(javax.crypto.Cipher cipher,
javax.crypto.spec.SecretKeySpec keySpec) |
GenericCryptor(javax.crypto.Cipher cipher,
javax.crypto.spec.SecretKeySpec keySpec,
javax.crypto.spec.IvParameterSpec ivSpec) |
Modifier and Type | Method and Description |
---|---|
void |
setCipher(javax.crypto.Cipher cipher) |
void |
setCipher(java.lang.String cipher) |
decrypt, decrypt, encrypt, encrypt, generateKeyFromPassphrase, setHexKey, setIV, setIV, setIV, setIV, setIVHex, setKey, setKey, setKeyFromPassphrase
public GenericCryptor()
public GenericCryptor(javax.crypto.Cipher cipher)
public GenericCryptor(javax.crypto.Cipher cipher, javax.crypto.spec.SecretKeySpec keySpec)
public GenericCryptor(javax.crypto.Cipher cipher, javax.crypto.spec.SecretKeySpec keySpec, javax.crypto.spec.IvParameterSpec ivSpec)