Searching for the Kohana systematic for authentication to use in Laravel proved to be quite hard for me. Couldn’t find it in code, nor online or where-ever. BUT! Found it!

It uses the http://php.net/manual/en/function.hash-hmac.php function to do this, it works like this:

<?php
echo hash_hmac('sha256', 'password', 'somekeyyouuseforyourhashing');
?>

And, done!