Interface ICrypter
-
- All Known Implementing Classes:
DefaultCrypter
,GCMSIVCrypter
public interface ICrypter
An encrypter and decrypter of pages.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description byte[]
decrypt(byte[] bytes, SecretKey key)
byte[]
encrypt(byte[] bytes, SecretKey key, SecureRandom random)
SecretKey
generateKey(SecureRandom random)
-
-
-
Method Detail
-
generateKey
SecretKey generateKey(SecureRandom random)
-
encrypt
byte[] encrypt(byte[] bytes, SecretKey key, SecureRandom random)
-
-