cacophony-0.4.0: A library implementing the Noise protocol.

MaintainerJohn Galt <jgalt@centromere.net>
Stabilityexperimental
PortabilityPOSIX
Safe HaskellNone
LanguageHaskell2010

Crypto.Noise.Internal.CipherState

Contents

Description

 

Synopsis

Types

data CipherState c Source

Represents a symmetric key and associated nonce.

Constructors

CipherState (SymmetricKey c) (Nonce c) 

Lenses

csk :: forall c. Lens' (CipherState c) (SymmetricKey c) Source

csn :: forall c. Lens' (CipherState c) (Nonce c) Source

Functions