Bcrypt password hashing in Perl6
Switch branches/tags
Nothing to show
Clone or download
Pull request Compare This branch is 91 commits ahead of dwarring:master.
skinkade Merge pull request #4 from samcv/SPDX-license
Use SPDX identifier in license field of META6.json
Latest commit cba10d2 Apr 29, 2017



Build Status

Easy bcrypt password hashing in Perl6.


Password hashing and verification are one function each, and utilize a crypt()-style output string:

> use Crypt::Bcrypt;

> my $hash = bcrypt-hash("password")

> bcrypt-match("password", $hash)

> bcrypt-match("wrong", $hash)

> bcrypt-hash("password", :rounds(15))


This module uses the Openwall crypt_blowfish library by Solar Designer. See http://www.openwall.com/crypt/ and the header of crypt_blowfish.c for details.


The Openwall library is licensed and redistributed under the terms outlined in the header of crypt_blowfish.c. Any modifications are released under the same terms.

This module is released under the terms of the ISC License. See the LICENSE file for details.