rncryptor-0.3.0.1: Haskell implementation of the RNCryptor file format

Safe HaskellNone
LanguageHaskell2010

Crypto.RNCryptor.Types

Contents

Synopsis

Documentation

data RNCryptorHeader Source #

Constructors

RNCryptorHeader 

Fields

newRNCryptorHeader :: IO RNCryptorHeader Source #

Generates a new RNCryptorHeader, suitable for encryption.

renderRNCryptorHeader :: RNCryptorHeader -> ByteString Source #

Concatenates this RNCryptorHeader into a raw sequence of bytes, up to the IV. This means you need to append the ciphertext plus the HMAC to finalise the encrypted file.

Type synonyms to make the API more descriptive