AADEncryptor

tsec.cipher.symmetric.AADEncryptor
trait AADEncryptor[F[_], A, K[_]] extends AuthEncryptor[F, A, K]

Attributes

Source
Encryptor.scala
Graph
Supertypes
trait AuthEncryptor[F, A, K]
trait Encryptor[F, A, K]
class Object
trait Matchable
class Any

Members list

Value members

Abstract methods

def decryptWithAAD(cipherText: CipherText[A], key: K[A], aad: AAD): F[PlainText]

Attributes

Source
Encryptor.scala
def decryptWithAADDetached(cipherText: CipherText[A], key: K[A], aad: AAD, authTag: Type[A]): F[PlainText]

Attributes

Source
Encryptor.scala
def encryptWithAAD(plainText: PlainText, key: K[A], iv: Type[A], aad: AAD): F[CipherText[A]]

Attributes

Source
Encryptor.scala
def encryptWithAADDetached(plainText: PlainText, key: K[A], iv: Type[A], aad: AAD): F[(CipherText[A], Type[A])]

Attributes

Source
Encryptor.scala

Concrete methods

def encryptWithAAD(plainText: PlainText, key: K[A], aad: AAD)(implicit ivStrategy: IvGen[F, A], F: Monad[F]): F[CipherText[A]]

Attributes

Source
Encryptor.scala
def encryptWithAADDetached(plainText: PlainText, key: K[A], aad: AAD)(implicit ivStrategy: IvGen[F, A], F: Monad[F]): F[(CipherText[A], Type[A])]

Attributes

Source
Encryptor.scala

Inherited methods

def decrypt(cipherText: CipherText[A], key: K[A]): F[PlainText]

Attributes

Inherited from:
Encryptor
Source
Encryptor.scala
def decryptDetached(cipherText: CipherText[A], key: K[A], authTag: Type[A]): F[PlainText]

Attributes

Inherited from:
AuthEncryptor
Source
Encryptor.scala
def encrypt(plainText: PlainText, key: K[A], iv: Type[A]): F[CipherText[A]]

Attributes

Inherited from:
Encryptor
Source
Encryptor.scala
final def encrypt(plainText: PlainText, key: K[A])(implicit ivStrategy: IvGen[F, A], F: Monad[F]): F[CipherText[A]]

Attributes

Inherited from:
Encryptor
Source
Encryptor.scala
def encryptDetached(plainText: PlainText, key: K[A], iv: Type[A]): F[(CipherText[A], Type[A])]

Attributes

Inherited from:
AuthEncryptor
Source
Encryptor.scala
def encryptDetached(plainText: PlainText, key: K[A])(implicit ivStrategy: IvGen[F, A], F: Monad[F]): F[(CipherText[A], Type[A])]

Attributes

Inherited from:
AuthEncryptor
Source
Encryptor.scala