Help for this page

Select Code to Download


  1. or download this
    use Crypt::PK::RSA;
    my $pk = Crypt::PK::RSA->new();
    $pk->generate_key(256, 65537);
    my $private_pem = $pk->export_key_pem('private');
    my $public_pem = $pk->export_key_pem('public');
    
  2. or download this
    -----BEGIN RSA PUBLIC KEY-----
    ...
    -----END RSA PUBLIC KEY-----
    
  3. or download this
    $ ssh-keygen -y -f privatekey > publickey