forked from ChomeNS/chipmunkmod
use 5 sexs for chomeval (yes i changed the delay)
This commit is contained in:
parent
6a06c8589d
commit
2bcded3997
1 changed files with 1 additions and 1 deletions
|
@ -100,7 +100,7 @@ public class ValidateCommand {
|
||||||
|
|
||||||
try {
|
try {
|
||||||
MessageDigest md = MessageDigest.getInstance("SHA-256");
|
MessageDigest md = MessageDigest.getInstance("SHA-256");
|
||||||
String time = String.valueOf(System.currentTimeMillis() / 10000);
|
String time = String.valueOf(System.currentTimeMillis() / 5_000);
|
||||||
String input = time + key;
|
String input = time + key;
|
||||||
byte[] hash = md.digest(input.getBytes(StandardCharsets.UTF_8));
|
byte[] hash = md.digest(input.getBytes(StandardCharsets.UTF_8));
|
||||||
String stringHash = Hexadecimal.encode(hash).substring(0, 16);
|
String stringHash = Hexadecimal.encode(hash).substring(0, 16);
|
||||||
|
|
Loading…
Reference in a new issue