Copyright | (c) Piyush P Kurur 2019 |
---|---|
License | Apache-2.0 OR BSD-3-Clause |
Maintainer | Piyush P Kurur <ppk@iitpkd.ac.in> |
Stability | experimental |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Synopsis
- data AEAD c t = AEAD {}
- unsafeAEAD :: Nounce c -> ByteString -> t -> AEAD c t
Documentation
An authenticated encrypted packet containing a payload of type
plain
and additional authenticated data of type aad
.
AEAD | |
|
:: Nounce c | |
-> ByteString | |
-> t | the authentication tag |
-> AEAD c t |
Create an AEAD packet from the underlying authentication tag and cipher text.