JCAAEAD

tsec.cipher.symmetric.jca.JCAAEAD
trait JCAAEAD[A, M, P] extends AEADAPI[A, SecretKey]

Attributes

Source
JCAAEAD.scala
Graph
Supertypes
trait AEADAPI[A, SecretKey]
trait CipherAPI[A, SecretKey]
class Object
trait Matchable
class Any
Show all
Known subtypes
class AESGCM[A]
object AES128GCM.type
object AES192GCM.type
object AES256GCM.type

Members list

Value members

Inherited methods

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

Attributes

Inherited from:
CipherAPI
Source
CipherAPI.scala
final def decryptDetached[F[_]](cipherText: CipherText[A], key: Type[A], authTag: Type[A])(implicit E: AuthEncryptor[F, A, SecretKey]): F[PlainText]

Attributes

Inherited from:
AuthCipherAPI
Source
CipherAPI.scala
final def decryptWithAAD[F[_]](cipherText: CipherText[A], key: Type[A], aad: AAD)(implicit E: AADEncryptor[F, A, SecretKey]): F[PlainText]

Attributes

Inherited from:
AEADAPI
Source
CipherAPI.scala
final def decryptWithAADDetached[F[_]](cipherText: CipherText[A], key: Type[A], aad: AAD, authTag: Type[A])(implicit E: AADEncryptor[F, A, SecretKey]): F[PlainText]

Attributes

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

Attributes

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

Attributes

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

Attributes

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

Attributes

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

Attributes

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

Attributes

Inherited from:
AuthCipherAPI
Source
CipherAPI.scala
final def encryptWithAAD[F[_]](plainText: PlainText, key: Type[A], iv: Type[A], aad: AAD)(implicit E: AADEncryptor[F, A, SecretKey]): F[CipherText[A]]

Attributes

Inherited from:
AEADAPI
Source
CipherAPI.scala
final def encryptWithAAD[F[_]](plainText: PlainText, key: Type[A], ivs: IvGen[F, A], aad: AAD)(implicit E: AADEncryptor[F, A, SecretKey], F: Monad[F]): F[CipherText[A]]

Attributes

Inherited from:
AEADAPI
Source
CipherAPI.scala
final def encryptWithAAD[F[_] : Monad](plainText: PlainText, key: Type[A], aad: AAD)(implicit evidence$4: Monad[F], E: AADEncryptor[F, A, SecretKey], ivStrategy: IvGen[F, A]): F[CipherText[A]]

Attributes

Inherited from:
AEADAPI
Source
CipherAPI.scala
final def encryptWithAADDetached[F[_]](plainText: PlainText, key: Type[A], iv: Type[A], aad: AAD)(implicit E: AADEncryptor[F, A, SecretKey]): F[(CipherText[A], Type[A])]

Attributes

Inherited from:
AEADAPI
Source
CipherAPI.scala
final def encryptWithAADDetached[F[_]](plainText: PlainText, key: Type[A], ivs: IvGen[F, A], aad: AAD)(implicit E: AADEncryptor[F, A, SecretKey], F: Monad[F]): F[(CipherText[A], Type[A])]

Attributes

Inherited from:
AEADAPI
Source
CipherAPI.scala
final def encryptWithAADDetached[F[_] : Monad](plainText: PlainText, key: Type[A], aad: AAD)(implicit evidence$5: Monad[F], E: AADEncryptor[F, A, SecretKey], ivStrategy: IvGen[F, A]): F[(CipherText[A], Type[A])]

Attributes

Inherited from:
AEADAPI
Source
CipherAPI.scala