php hash
snippet in php

php hash

user9736

$password = 'test123';

/*
	Always use salt for security reasons.
    I'm using the BCRYPT algorithm use any valid one you like.
*/
$options['salt'] = 'usesomesillystringforsalt';
$options['cost'] = 3;
echo password_hash($password, PASSWORD_BCRYPT, $options)

php hash

user7533


<?php
echo hash('ripemd160', 'The quick brown fox jumped over the lazy dog.');
?>