noise-0.0.0.0: Usable security for the internet, Deux

Copyright(c) Austin Seipp 2014
LicenseMIT
Maintaineraseipp@pobox.com
Stabilityunstable
Portabilityportable
Safe HaskellNone
LanguageHaskell2010

Crypto.Noise.Key

Contents

Description

Key generation for noise boxes/pipes.

Synopsis

Documentation

type Noise = Curve25519

The type of Noise keys.

type KeyPair = (PublicKey Noise, SecretKey Noise)

Simple alias for a Noise keypair

createKeypair :: IO (PublicKey Noise, SecretKey Noise)

Create public/private keys for use with noise boxes or noise pipes.

Re-exported of Crypto.Key

newtype PublicKey t

A PublicKey created by createKeypair.

Constructors

PublicKey 

Instances

newtype SecretKey t

A SecretKey created by createKeypair. Be sure to keep this safe!

Constructors

SecretKey 

Instances