raaz-0.3.6: Fast and type safe cryptography.
Copyright(c) Piyush P Kurur 2019
LicenseApache-2.0 OR BSD-3-Clause
MaintainerPiyush P Kurur <ppk@iitpkd.ac.in>
Stabilityexperimental
Safe HaskellNone
LanguageHaskell2010

Raaz.Primitive.AEAD.Internal

Description

 
Synopsis

Documentation

data AEAD c t Source #

An authenticated encrypted packet containing a payload of type plain and additional authenticated data of type aad.

Constructors

AEAD 

Fields

unsafeAEAD Source #

Arguments

:: Nounce c 
-> ByteString 
-> t

the authentication tag

-> AEAD c t 

Create an AEAD packet from the underlying authentication tag and cipher text.