Creates a hash from the string using the CRYPT_BLOWFISH algorithm.
Twine\Str::bcrypt( [ array $options = [] ] ) : Twine\Str
$options | An array of bcrypt hasing options |
$string = new Twine\Str('john pinkerton');
$string->bcrypt(['salt' => 'NaClNaClNaClNaClNaClNaCl']); // Returns '$2y$10$NaClNaClNaClNaClNaClNOMtb0r8BE2WGaLqvGur17DqtgjsWl0lW'