Last active
September 23, 2016 02:10
-
-
Save Sarav-S/fa9eba7ca39a4556a4a32127b17c81c1 to your computer and use it in GitHub Desktop.
bcrypt() function
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
if (! function_exists('bcrypt')) { | |
/** | |
* Hash the given value. | |
* | |
* @param string $value | |
* @param array $options | |
* @return string | |
*/ | |
function bcrypt($value, $options = []) | |
{ | |
return app('hash')->make($value, $options); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment