- var_dump: documentation ( source)
- microtime: documentation ( source)
- sha1: documentation ( source)
- implode: documentation ( source)
<?php
$username = 'skope';
$timestamp = microtime();
$hash = sha1(implode([$username, $timestamp]), true);
var_dump($hash);
var_dump(strlen($hash));