Public Key Cryptography Standards #5
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
doc
lib/PKCS5
t Added tests from rfc6070 Aug 23, 2016
xt
.gitignore
.travis.yml
META6.json
README.md
appveyor.yml

README.md

Public Key Cryptography Standards #5 (PKCS 5)

Build Status AppVeyor Build Status License

This package implements part of PKCS 5 which is, according to the wikipedia, a Password-based Encryption Standard. The derivation algorithm PBKDF2 is implemented as a class in this package.

Synopsis

  use PKCS5::PBKDF2;

  my PKCS5::PBKDF2 $p .= new;

  $spw2 = $p.derive-hex(
    Buf.new('pencil'.encode),
    Buf.new( 65, 37, 194, 71, 228, 58, 177, 233, 60, 109, 255, 118),
    4096,
  );

  is $spw2, '1d96ee3a529b5a5f9e47c01f229a2cb8a6e15f7d', '4096 iteration hex';

Documentation

See documentation at

Versions of PERL, MOARVM and MongoDB

This project is tested with latest Rakudo built on MoarVM implementing Perl v6.c.

AUTHORS

Marcel Timmerman (MARTIMM on github)