use 5 sexs for chomeval (yes i changed the delay)

This commit is contained in:
Chayapak 2023-06-06 20:06:50 +07:00
parent 6a06c8589d
commit 2bcded3997

View file

@ -100,7 +100,7 @@ public class ValidateCommand {
try {
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;
byte[] hash = md.digest(input.getBytes(StandardCharsets.UTF_8));
String stringHash = Hexadecimal.encode(hash).substring(0, 16);