13 lines
328 B
PHP
13 lines
328 B
PHP
<?php define('__ROOT__', dirname(dirname(__FILE__)));
|
|
|
|
require_once __ROOT__.'/al.php';
|
|
|
|
use api\core\Authentification;
|
|
|
|
|
|
var_dump( $stored=Authentification::secure_hash('some-password', 1000) );
|
|
var_dump( $given=Authentification::secure_hash('some-password', 999) );
|
|
var_dump( Authentification::secure_hash($given) );
|
|
|
|
?>
|