Constructor and Description |
---|
AesEncrypter(com.tozny.crypto.android.AesCbcWithIntegrity.SecretKeys secretKeys) |
Modifier and Type | Method and Description |
---|---|
byte[] |
decrypt(byte[] data)
Returns the data that has been decrypted using this Encrypter
|
byte[] |
encrypt(byte[] data)
Returns the data that has been encrypted using this Encrypter
|
java.lang.String |
getDbKey()
Returns the encryption key to use for encrypting a SQLCipher database, if using one.
|
public AesEncrypter(com.tozny.crypto.android.AesCbcWithIntegrity.SecretKeys secretKeys)
public byte[] encrypt(byte[] data) throws java.security.GeneralSecurityException
Encrypter
public byte[] decrypt(byte[] data) throws java.security.GeneralSecurityException
Encrypter
public java.lang.String getDbKey()
Encrypter