final class SafeHolderEncryption extends Encryptor[AuthResult] with Decryptor[AuthResult]
- Source
- Encryption.scala
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- SafeHolderEncryption
- Decryptor
- Encryptor
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
- new SafeHolderEncryption(holder: SafeHolder[Cipher])
Value Members
-
def
decrypt(data: ByteVector, key: EncryptionKey, iv: InitializationVector): AuthResult[ByteVector]
- Definition Classes
- SafeHolderEncryption → Decryptor
-
def
encrypt(data: ByteVector, key: EncryptionKey, iv: InitializationVector): AuthResult[ByteVector]
- Definition Classes
- SafeHolderEncryption → Encryptor
- def useCipher(data: ByteVector, key: EncryptionKey, iv: InitializationVector, mode: CipherMode): AuthResult[ByteVector]