bcript laravel

JavaScript
$password = bcrypt('secret');
Source

Also in JavaScript: