Crypt::OpenPGP::S2k

String-to-key generation module.
Download

Crypt::OpenPGP::S2k Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Perl Artistic License
  • Price:
  • FREE
  • Publisher Name:
  • Benjamin Trott
  • Publisher web site:
  • http://search.cpan.org/~btrott/

Crypt::OpenPGP::S2k Tags


Crypt::OpenPGP::S2k Description

String-to-key generation module. Crypt::OpenPGP::S2k is a string-to-key generation module.SYNOPSIS use Crypt::OpenPGP::S2k; my $s2k = Crypt::OpenPGP::S2k->new('Salt_Iter'); my $key = $s2k->generate($passphrase, $keysize); my $serialized = $s2k->save;Crypt::OpenPGP::S2k implements string-to-key generation for use in generating symmetric cipher keys from standard, arbitrary-length passphrases (like those used to lock secret key files). Since a passphrase can be of any length, and key material must be a very specific length, a method is needed to translate the passphrase into the key. The OpenPGP RFC defines three such methods, each of which this class implements. Requirements: · Perl


Crypt::OpenPGP::S2k Related Software