Crypt-PBKDF2

 view release on metacpan or  search on metacpan

META.json  view on Meta::CPAN

            "Try::Tiny" : "0.04",
            "Type::Tiny" : "0",
            "Types::Standard" : "1.000005",
            "namespace::autoclean" : "0",
            "strictures" : "2"
         }
      },
      "test" : {
         "requires" : {
            "Encode" : "0",
            "Test::Fatal" : "0",
            "Test::More" : "0",
            "constant" : "0",
            "strict" : "0",
            "warnings" : "0"
         }
      }
   },
   "release_status" : "stable",
   "resources" : {
      "bugtracker" : {

META.yml  view on Meta::CPAN

---
abstract: 'The PBKDF2 password hash algorithm'
author:
  - 'Andrew Rodland <andrew@cleverdomain.org>'
build_requires:
  Encode: '0'
  Test::Fatal: '0'
  Test::More: '0'
  constant: '0'
  strict: '0'
  warnings: '0'
configure_requires:
  Module::Build::Tiny: '0.034'
dynamic_config: 0
generated_by: 'Dist::Zilla version 6.037, CPAN::Meta::Converter version 2.150010'
license: perl
meta-spec:

t/06-length-limit.t  view on Meta::CPAN

#!perl
use strict;
use warnings;

use Test::More;
use Test::Fatal;
use Crypt::PBKDF2;

my $pbkdf2 = Crypt::PBKDF2->new(
  length_limit => 8
);

my $hash;

is exception { $hash = $pbkdf2->generate("12345678") }, undef, "doesn't die on generate with valid length";
is exception {



( run in 3.560 seconds using v1.01-cache-2.11-cpan-54e63673c56 )