No description, website, or topics provided.
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
README
frequency_analysis.pl
lovecraft.txt

README

This repo holds implementations of historic encryption methods such as substiution cyphers and tools to support them.  If you are interested in modern encryption I recommend you try a variety of other sources.  These are meant to illustrate educational principles in the history of encryption, not provide an effective means of protecting sensitive information.

Applications include:

frequency_analysis.pl - a simple perl script for word and character frequency analysis, modified from the Perl Maven post by Gabor Szabo at https://perlmaven.com/count-words-in-text-using-perl.  This is the sort of thing Perl does well but I'm lazy and perfectly happy to re use the code of others. 

Several sample analysis texts are included for illustrative purposes including:

lovecraft.txt - includes the public domain texts of At the Mountains of Madness, The Call of Cthulhu, The Colour Out of Space, The Dream-Quest of Unknown Kadath, The Doom That Came to Sarnath, Nyarlathotep, Pickman’s Model.  This is, of course, only a sample of his writing but hopefully a useful one.  The texts were sourced from http://www.hplovecraft.com/writings/texts/ which does a wonderful service making these available.

If you are on a BSD/*nix platform getting locale or language errors you may need entries in your environment similar to: 

export LC_ALL=en_US.UTF-8  
export LANG=en_US.UTF-8

Note, that this is for US English, so change values as appropriate.