| Safe Haskell | None |
|---|---|
| Language | Haskell98 |
Crypto.Cipher.ChaChaPoly1305.Conduit
Documentation
Arguments
| :: forall (m :: Type -> Type). MonadThrow m | |
| => ByteString | nonce (12 random bytes) |
| -> ByteString | symmetric key (32 bytes) |
| -> ConduitM ByteString ByteString m () |
Arguments
| :: forall (m :: Type -> Type). MonadThrow m | |
| => ByteString | symmetric key (32 bytes) |
| -> ConduitM ByteString ByteString m () |
data ChaChaException Source #
Constructors
| EncryptNonceException !CryptoError | |
| EncryptKeyException !CryptoError | |
| DecryptNonceException !CryptoError | |
| DecryptKeyException !CryptoError | |
| MismatchedAuth |
Instances
| Exception ChaChaException Source # | |
Defined in Crypto.Cipher.ChaChaPoly1305.Conduit Methods toException :: ChaChaException -> SomeException Source # fromException :: SomeException -> Maybe ChaChaException Source # | |
| Show ChaChaException Source # | |
Defined in Crypto.Cipher.ChaChaPoly1305.Conduit | |