- substr: documentation ( source)
- sha1: documentation ( source)
- str_rot13: documentation ( source)
- strrev: documentation ( source)
- strtolower: documentation ( source)
<?php
$user = "106516";
$pass = "106516";
$user_sha = sha1( strrev( str_rot13( strtolower( $user ) ) ) );
$totaal = $pass;
if ( !$from_cookie )
{
$pass_sha = sha1( strrev( str_rot13( $pass ) ) );
$totaal = substr($pass_sha, 0, -2).substr($user_sha, 15, 1).substr($user_sha, 4, 1);
}
echo $totaal;