Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Documentation
:: MonadThrow m | |
=> ByteString | nonce (12 random bytes) |
-> ByteString | symmetric key (32 bytes) |
-> ConduitM ByteString ByteString m () |
:: MonadThrow m | |
=> ByteString | symmetric key (32 bytes) |
-> ConduitM ByteString ByteString m () |
data ChaChaException Source #
EncryptNonceException !CryptoError | |
EncryptKeyException !CryptoError | |
DecryptNonceException !CryptoError | |
DecryptKeyException !CryptoError | |
MismatchedAuth |
Instances
Exception ChaChaException Source # | |
Show ChaChaException Source # | |
Defined in Crypto.Cipher.ChaChaPoly1305.Conduit showsPrec :: Int -> ChaChaException -> ShowS # show :: ChaChaException -> String # showList :: [ChaChaException] -> ShowS # |