interface EncryptCipher : Any
A contract for a cipher that can encrypt an instance of Decrypted, producing an instance of Encrypted.
| encrypt |
abstract fun encrypt(decrypted: Decrypted): Encrypted |
| AsymmetricCipherPair |
class AsymmetricCipherPair : EncryptCipher, DecryptCipher
An encrypting/decrypting cipher which wraps both an AsymmetricEncryptCipher and a AsymmetricDecryptCipher. |
| AsymmetricEncryptCipher |
class AsymmetricEncryptCipher : ConcreteCipher, EncryptCipher
An encrypting-only cipher which uses an RSA-based PublicKey for encryption. |
| AuthenticatingBlockCipher |
class AuthenticatingBlockCipher : ConcreteCipher, EncryptCipher, DecryptCipher
An encrypting/decrypting cipher which uses the Galois-counter mode (GCM). |
| BlockCipher |
class BlockCipher : ConcreteCipher, EncryptCipher, DecryptCipher
An encrypting/decrypting cipher which uses the chained-block mode (CBC). |