Encryptor

tsec.cipher.symmetric.Encryptor
trait Encryptor[F[_], A, K[_]]

Attributes

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

Members list

Value members

Abstract methods

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

Attributes

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

Attributes

Source
Encryptor.scala

Concrete methods

final def encrypt(plainText: PlainText, key: K[A])(implicit ivStrategy: IvGen[F, A], F: Monad[F]): F[CipherText[A]]

Attributes

Source
Encryptor.scala