Crypt::OOEnigma::Military

A military Enigma machine circa 1940.
Download

Crypt::OOEnigma::Military Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Perl Artistic License
  • Price:
  • FREE
  • Publisher Name:
  • Steve Baker
  • Publisher web site:
  • ftp://mama.indstate.edu/linux/tree

Crypt::OOEnigma::Military Tags


Crypt::OOEnigma::Military Description

A military Enigma machine circa 1940. Crypt::OOEnigma::Military is a military Enigma machine circa 1940. It differs from the Commercial Enigma in the addition of a plugboard before the rotors.SYNOPSIS use Crypt::OOEnigma::Military; # An Enigma with 3 default Rotors (with identity substitutions) my $enigma = new Crypt::OOEnigma::Military; # OR use Crypt::OOEnigma::Military; use Crypt::OOEnigma::Rotor; my @rotors = () # Populate the list of Crypt::OOEnigma::Rotor Crypt::OOEnigma::Military->new( rotors => ); # OR EVEN use Crypt::OOEnigma::Military; use Crypt::OOEnigma::Rotor; use Crypt::OOEnigma::Reflector; use Crypt::OOEnigma::Plugboard; my @rotors = () # Populate the list of Crypt::OOEnigma::Rotor, see relevant pod my $reflector = new Crypt:OOEnigma::Reflector(params); # see relevant pod my $plugboard = new Crypt:OOEnigma::Plugboard(params); # see relevant pod Crypt::OOEnigma::Military->new( rotors => , plugboard => $plugboard, reflector => $reflector); my $cipher = $enigma->encipher($mesg); my $decode = $enigma->encipher($cipher); # self-inverse # for internal use $enigma->init(); # returns the rotors to their initial stateThis module provides a Military Enigma machine which differs in that a Plugboard is added before the Rotors.You should usually create a Military Enigma with your own Plugboard, Rotors and Reflector. Requirements: · Perl


Crypt::OOEnigma::Military Related Software