JCACipherAPI

tsec.cipher.symmetric.jca.JCACipherAPI
trait JCACipherAPI[A, M, P] extends CipherAPI[A, SecretKey]

Attributes

Source
JCACipherAPI.scala
Graph
Supertypes
trait CipherAPI[A, SecretKey]
class Object
trait Matchable
class Any
Known subtypes
class AESCBC[A]
object AES128CBC.type
object AES192CBC.type
object AES256CBC.type
class AESCTR[A]
object AES128CTR.type
object AES192CTR.type
object AES256CTR.type
Show all

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 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