AESCBC

tsec.cipher.symmetric.jca.AESCBC
sealed abstract class AESCBC[A] extends JCACipherAPI[A, CBC, PKCS7Padding], AES[A]

Attributes

Source
AESCBC.scala
Graph
Supertypes
trait AES[A]
trait AEADCipher[A]
trait AECipher[A]
trait BlockCipher[A]
trait Cipher[A]
trait CipherAPI[A, SecretKey]
class Object
trait Matchable
class Any
Show all
Known subtypes
object AES128CBC.type
object AES192CBC.type
object AES256CBC.type

Members list

Value members

Concrete methods

def defaultIvStrategy[F[_] : Sync](implicit evidence$2: Sync[F], c: BlockCipher[A]): IvGen[F, A]

Attributes

Source
AESCBC.scala

Inherited methods

def buildKey[F[_]](rawKey: Array[Byte])(implicit S: SymmetricKeyGen[F, A, SecretKey]): F[K[Alg]]

Attributes

Inherited from:
SymmetricKeyGenAPI (hidden)
Source
SymmetricKeyGenAPI.scala
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
def generateKey[F[_]](implicit S: SymmetricKeyGen[F, A, SecretKey]): F[K[Alg]]

Attributes

Inherited from:
SymmetricKeyGenAPI (hidden)
Source
SymmetricKeyGenAPI.scala

Attributes

Inherited from:
Cipher
Source
package.scala
def unsafeBuildKey(rawKey: Array[Byte])(implicit S: IdKeyGen[A, SecretKey]): K[Alg]

Attributes

Inherited from:
SymmetricKeyGenAPI (hidden)
Source
SymmetricKeyGenAPI.scala
def unsafeGenerateKey(implicit S: IdKeyGen[A, SecretKey]): K[Alg]

Attributes

Inherited from:
SymmetricKeyGenAPI (hidden)
Source
SymmetricKeyGenAPI.scala

Inherited fields

Attributes

Inherited from:
AES
Source
package.scala

Attributes

Inherited from:
AES
Source
package.scala

Attributes

Inherited from:
AES
Source
package.scala

Implicits

Implicits

implicit val ac: AESCBC[A]

Attributes

Source
AESCBC.scala
implicit def genEncryptor[F[_] : Sync](implicit evidence$1: Sync[F], c: BlockCipher[A]): JCAPrimitiveCipher[F, A, CBC, PKCS7Padding]

Attributes

Source
AESCBC.scala

Inherited implicits

implicit def idKeyGen(implicit B: BlockCipher[A]): IdKeyGen[A, SecretKey]

Attributes

Inherited from:
JCAKeyGen (hidden)
Source
BlockCipherEV.scala
implicit def newKeyGen[F[_]](implicit F: Sync[F], B: BlockCipher[A]): SymmetricKeyGen[F, A, SecretKey]

Attributes

Inherited from:
JCAKeyGen (hidden)
Source
BlockCipherEV.scala