Text::Cipher

Text::Cipher is a very flexible base class for text ciphers.
Download

Text::Cipher Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Perl Artistic License
  • Price:
  • FREE
  • Publisher Name:
  • Robert Fischer
  • Publisher web site:
  • http://search.cpan.org/~chia/Text-Cipher-1.01/Cipher.pm

Text::Cipher Tags


Text::Cipher Description

Text::Cipher is a very flexible base class for text ciphers. Text::Cipher is a very flexible base class for text ciphers.SYNOPSIS # WITHIN MAIN use Text::Cipher; my $obj = Text::Cipher->new($domain,$mapping); #Constructor my $storage = $obj->encipher("some string"); #String op $obj->encipher_scalar($some_scalar); #Scalar ref op my @big_storage = $obj->encipher_list("2nd string", #List operator "and another", "and more", "yet more"); $obj->encipher_array(@some_array); #Array operator Text::Cipher->clean(); #Memory cleanup # AS INHERITED BASE CLASS package Text::Cipher::NewCipher; @ISA = qw(Text::Cipher); sub new { my $class = shift; ... ... return $class->SUPER::new($from,$to); } # Text::Cipher::NewCipher is automatically supplied the cipher # methods. # Aliasing example: make Text::Cipher::NewCipher::flush operate # just like Text::Cipher::clean. BEGIN { *flush = &Crypt::Cipher::clean }; Requirements: · Perl


Text::Cipher Related Software