library bcrypt
A library for encoding strings using bcrypt.
prostoroman/bcrypt
A library for encoding strings using bcrypt.
- Thursday, May 2, 2013
- by prostoroman
- Repository
- 1 Watchers
- 0 Stars
- 23 Installations
- PHP
- 0 Dependents
- 0 Suggesters
- 0 Forks
- 0 Open issues
- 1 Versions
- 0 % Grown
Bcrypt
, (*1)
Provides a bcrypt function for PHP., (*2)
Installation
To install Bcrypt, you must add it to the list of dependencies in your composer.json
file., (*3)
$ php composer.phar require kherge/bcrypt=2.*
Example
$encoded = bcrypt('test');
// $2y$10$JKjL8xFIoy4rdQLw3j26L.zEFs9IWb3tGEsDElPkDmN/.ngm46zYu
echo 'Verified? ', bcrypt_verify('test', $encoded) ? 'Yes' : 'No', "\n";
// Verified? Yes
Please see the wiki for more detailed usage information., (*4)
dev-master
9999999-dev
A library for encoding strings using bcrypt.
Sources
Download
MIT
The Requires