Crypt::OpenPGP::SessionKey

Encrypted Session Key.
Download

Crypt::OpenPGP::SessionKey Ranking & Summary

Advertisement

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

Crypt::OpenPGP::SessionKey Tags


Crypt::OpenPGP::SessionKey Description

Encrypted Session Key. Crypt::OpenPGP::SessionKey is a Perl module with encrypted session key.SYNOPSIS use Crypt::OpenPGP::SessionKey; my $key_data = 'f' x 64; ## Not a very good key :) my $skey = Crypt::OpenPGP::SessionKey->new( Key => $public_key, SymKey => $key_data, ); my $serialized = $skey->save; my $skey = Crypt::OpenPGP::SessionKey->parse($buffer); my($key_data, $alg) = $skey->decrypt($secret_key);Crypt::OpenPGP::SessionKey implements encrypted session key packets; these packets store public-key-encrypted key data that, when decrypted using the corresponding secret key, can be used to decrypt a block of ciphertext--that is, a Crypt::OpenPGP::Ciphertext object. Requirements: · Perl


Crypt::OpenPGP::SessionKey Related Software