#!/usr/bin/perl # This is a letter-frequency analyzer by Chris Staecker # Modified 4/28/08 use strict; use CGI; my $query = new CGI; sub maketop() { print "
This tool can help you crack a substitution or Vigenere cipher. Type your text below, and hit the button to compute the letter frequencies. You can also count frequencies in groups of letters offset by a particular number. (Choosing 5 offsets will count the frequencies in the groups of letters obtained by taking every 5th letter from the text.)
"; print "