tsec.cipher.symmetric.bouncy.XSalsa20Poly1305$
See theXSalsa20Poly1305 companion trait
object XSalsa20Poly1305 extends AuthCipherAPI[XSalsa20Poly1305, BouncySecretKey]
Attributes
- Companion
- trait
- Source
- XSalsa20Poly1305.scala
- Graph
-
- Supertypes
- Self type
-
XSalsa20Poly1305.type
Members list
Type members
Classlikes
object impl
Attributes
- Source
- XSalsa20Poly1305.scala
- Supertypes
- Self type
-
impl.type
Value members
Concrete methods
Attributes
- Source
- XSalsa20Poly1305.scala
Inherited methods
final def decrypt[F[_]](cipherText: CipherText[XSalsa20Poly1305], key: Type[XSalsa20Poly1305])(implicit E: Encryptor[F, XSalsa20Poly1305, BouncySecretKey]): F[PlainText]
Attributes
- Inherited from:
- CipherAPI
- Source
- CipherAPI.scala
final def decryptDetached[F[_]](cipherText: CipherText[XSalsa20Poly1305], key: Type[XSalsa20Poly1305], authTag: Type[XSalsa20Poly1305])(implicit E: AuthEncryptor[F, XSalsa20Poly1305, BouncySecretKey]): F[PlainText]
Attributes
- Inherited from:
- AuthCipherAPI
- Source
- CipherAPI.scala
final def encrypt[F[_]](plainText: PlainText, key: Type[XSalsa20Poly1305], iv: Type[XSalsa20Poly1305])(implicit E: Encryptor[F, XSalsa20Poly1305, BouncySecretKey]): F[CipherText[A]]
Attributes
- Inherited from:
- CipherAPI
- Source
- CipherAPI.scala
final def encrypt[F[_] : Monad](plainText: PlainText, key: Type[XSalsa20Poly1305], ivs: IvGen[F, XSalsa20Poly1305])(E: Encryptor[F, XSalsa20Poly1305, BouncySecretKey]): F[CipherText[A]]
Attributes
- Inherited from:
- CipherAPI
- Source
- CipherAPI.scala
final def encrypt[F[_] : Monad](plainText: PlainText, key: Type[XSalsa20Poly1305])(implicit evidence$1: Monad[F], E: Encryptor[F, XSalsa20Poly1305, BouncySecretKey], ivStrategy: IvGen[F, XSalsa20Poly1305]): F[CipherText[A]]
Attributes
- Inherited from:
- CipherAPI
- Source
- CipherAPI.scala
final def encryptDetached[F[_]](plainText: PlainText, key: Type[XSalsa20Poly1305], iv: Type[XSalsa20Poly1305])(implicit E: AuthEncryptor[F, XSalsa20Poly1305, BouncySecretKey]): F[(CipherText[A], Type[A])]
Attributes
- Inherited from:
- AuthCipherAPI
- Source
- CipherAPI.scala
final def encryptDetached[F[_]](plainText: PlainText, key: Type[XSalsa20Poly1305], ivs: IvGen[F, XSalsa20Poly1305])(implicit E: AuthEncryptor[F, XSalsa20Poly1305, BouncySecretKey], F: Monad[F]): F[(CipherText[A], Type[A])]
Attributes
- Inherited from:
- AuthCipherAPI
- Source
- CipherAPI.scala
final def encryptDetached[F[_] : Monad](plainText: PlainText, key: Type[XSalsa20Poly1305])(implicit evidence$3: Monad[F], E: AuthEncryptor[F, XSalsa20Poly1305, BouncySecretKey], ivStrategy: IvGen[F, XSalsa20Poly1305]): F[(CipherText[A], Type[A])]
Attributes
- Inherited from:
- AuthCipherAPI
- Source
- CipherAPI.scala
Implicits
Implicits
implicit def authEncryptor[F[_]](implicit F: Sync[F]): AuthEncryptor[F, XSalsa20Poly1305, BouncySecretKey]
Attributes
- Source
- XSalsa20Poly1305.scala
implicit def defaultKeyGen[F[_]](implicit F: Sync[F]): SymmetricKeyGen[F, XSalsa20Poly1305, BouncySecretKey]
Attributes
- Source
- XSalsa20Poly1305.scala
In this article