mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-20 11:39:43 +00:00
New packet
This commit is contained in:
parent
60c80110d3
commit
14e6fcb24e
5 changed files with 47 additions and 23 deletions
|
|
@ -94,7 +94,7 @@ class Utils{
|
|||
$c = (string) $c;
|
||||
for($i = 0; $i < 4; ++$i){
|
||||
$value ^= md5($i . $c . microtime(true), true);
|
||||
$value ^= substr(sha1($i . $c . microtime(true), true),$i,16);
|
||||
$value ^= substr(sha1($i . $c . microtime(true), true), $i,16);
|
||||
}
|
||||
}
|
||||
return $value;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue