crypto-classical-0.2.0: An educational tool for studying classical cryptography schemes.

Copyright(c) Colin Woodbury, 2015
LicenseBSD3
MaintainerColin Woodbury <colingw@gmail.com>
Safe HaskellNone
LanguageHaskell2010

Crypto.Classical.Cipher.Substitution

Description

 

Synopsis

Documentation

newtype Substitution a Source

A Cipher whose key is a (pseudo)random mapping of characters to other characters. A character may map to itself.

Constructors

Substitution 

Fields

_substitution :: a
 

substitution :: forall a a. Lens (Substitution a) (Substitution a) a a Source