Crypt::CipherSaber

Crypt::CipherSaber is a Perl module implementing CipherSaber encryption.
Download

Crypt::CipherSaber Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Perl Artistic License
  • Price:
  • FREE
  • Publisher Name:
  • chromatic
  • Publisher web site:
  • http://search.cpan.org/~chromatic/Crypt-CipherSaber-1.00/lib/Crypt/CipherSaber.pm

Crypt::CipherSaber Tags


Crypt::CipherSaber Description

Crypt::CipherSaber is a Perl module implementing CipherSaber encryption. Crypt::CipherSaber is a Perl module implementing CipherSaber encryption.SYNOPSIS use Crypt::CipherSaber; my $cs = Crypt::CipherSaber->new('my pathetic secret key'); my $coded = $cs->encrypt('Here is a secret message for you'); my $decoded = $cs->decrypt($coded); # encrypt from and to a file open(INFILE, 'secretletter.txt') or die "Can't open infile: $!"; open(OUTFILE, '>secretletter.cs1') or die "Can't open outfile: $!"; binmode(INFILE); binmode(OUTFILE); $cs->fh_crypt(*INFILE, *OUTFILE, 1); # decrypt from and to a file open(INFILE, 'secretletter.cs1') or die "Can't open infile: $!"; open(OUTFILE, '>secretletter.txt') or die "Can't open outfile: $!"; binmode(INFILE); binmode(OUTFILE); $cs->fh_crypt(*INFILE, *OUTFILE);The Crypt::CipherSaber module implements CipherSaber encryption, described at http://ciphersaber.gurus.com/. It is simple, fairly speedy, and relatively secure algorithm based on RC4.Encryption and decryption are done based on a secret key, which must be shared with all intended recipients of a message. Requirements: · Perl


Crypt::CipherSaber Related Software