AuthCipherAPI

tsec.cipher.symmetric.AuthCipherAPI
trait AuthCipherAPI[A, K[_]] extends CipherAPI[A, K]

Attributes

Source
CipherAPI.scala
Graph
Supertypes
trait CipherAPI[A, K]
class Object
trait Matchable
class Any
Known subtypes
trait AEADAPI[A, K]

Members list

Value members

Concrete methods

final def decryptDetached[F[_]](cipherText: CipherText[A], key: K[A], authTag: Type[A])(implicit E: AuthEncryptor[F, A, K]): F[PlainText]

Attributes

Source
CipherAPI.scala
final def encryptDetached[F[_] : Monad](plainText: PlainText, key: K[A])(implicit evidence$3: Monad[F], E: AuthEncryptor[F, A, K], ivStrategy: IvGen[F, A]): F[(CipherText[A], Type[A])]

Attributes

Source
CipherAPI.scala
final def encryptDetached[F[_]](plainText: PlainText, key: K[A], ivs: IvGen[F, A])(implicit E: AuthEncryptor[F, A, K], F: Monad[F]): F[(CipherText[A], Type[A])]

Attributes

Source
CipherAPI.scala
final def encryptDetached[F[_]](plainText: PlainText, key: K[A], iv: Type[A])(implicit E: AuthEncryptor[F, A, K]): F[(CipherText[A], Type[A])]

Attributes

Source
CipherAPI.scala

Inherited methods

final def decrypt[F[_]](cipherText: CipherText[A], key: K[A])(implicit E: Encryptor[F, A, K]): F[PlainText]

Attributes

Inherited from:
CipherAPI
Source
CipherAPI.scala
final def encrypt[F[_]](plainText: PlainText, key: K[A], iv: Type[A])(implicit E: Encryptor[F, A, K]): F[CipherText[A]]

Attributes

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

Attributes

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

Attributes

Inherited from:
CipherAPI
Source
CipherAPI.scala