Crate playfair

Crate playfair 

Source
Expand description

Playfair cipher implementation in Rust

Structs§

Keyword
Keyword structure, used in constructing the matrix in which the encryption is performed over.
Playfair
Playfair cipher structure, stores data needed during the encryption/decryption

Traits§

Cipher
Cipher trait, enforces encrypt and decrypt methods.

Type Aliases§

Bigram
Bigram type. Used in the Playfair cipher by grouping characters and performing operations on those pairs.
Matrix
The Matrix type is a 5 by 5 character array.
Position
Position type. Used to store an X, Y value for use in a matrix.