Crypt::OpenPGP::Armour is an ASCII armouring and unarmouring module.
SYNOPSIS
use Crypt::OpenPGP::Armour;
my $armoured = Crypt::OpenPGP::Armour->armour(
Data => "foo bar baz",
Object => "FOO OBJECT",
Headers => {
Version => '0.57',
Comment => 'FooBar',
},
);
my $decoded = Crypt::OpenPGP::Armour->unarmour( $armoured ) or
die Crypt::OpenPGP::Armour->errstr;
This module converts arbitrary-length strings of binary octets into Base64-encoded ASCII messages suitable for transfer as text. It also converts in the opposite direction, taking an armoured message and returning the binary data, along with headers.
Product's homepage
Requirements:
· Perl