Crypt::Rot47 is a Perl module that implements the ROT47 substitution cipher into ASCII text.
SYNOPSIS
# Object-oriented interface
use Crypt::Rot47;
my $cipher = new Crypt::Rot47();
my $ciphertext = $cipher->encrypt('Shhh... this is a secret message');
print "$ciphertext\n"; # Prints "$999]]] E9:D :D 2 D64C6E >6DD286"
my $plaintext = $cipher->decrypt($ciphertext);
print "$plaintext\n"; # Prints "Shhh... this is a secret message"
# Simpler non-OOP interface
use Crypt::Rot47 qw(rot47);
my $ciphertext = rot47('Shhh... this is a secret message');
my $plaintext = rot47($ciphertext);
Product's homepage
Requirements:
· Perl