<?php
|
|
require("Encrypt.class.php");
|
|
|
|
|
|
|
|
$pass = "123456ffffffffffffff";
|
|
$hash = Encrypt::hash($pass);
|
|
var_dump($hash);
|
|
|
|
$r = Encrypt::match($pass, $hash);
|
|
var_dump($r);
|
|
if($r){
|
|
print("MATCH\n");
|
|
}else{
|
|
print("NOT MATCH\n");
|
|
|
|
}
|