From 303253070017be379b275b5061d8ae723e974be5 Mon Sep 17 00:00:00 2001 From: gsd Date: Tue, 14 Mar 2023 17:15:04 +0300 Subject: [PATCH] f34 --- src/main/java/app/utils/SaltedCookie.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/app/utils/SaltedCookie.java b/src/main/java/app/utils/SaltedCookie.java index f4f2379..05c3bec 100644 --- a/src/main/java/app/utils/SaltedCookie.java +++ b/src/main/java/app/utils/SaltedCookie.java @@ -24,13 +24,13 @@ public class SaltedCookie { @Autowired public SaltedCookie() { secret_keys = new HashMap<>(); + fillSecretKeys(); } public String Hashed(String value) { return DigestUtils.md5DigestAsHex(String.format("%s+%s", value, salt).getBytes()); } - @PostConstruct public void fillSecretKeys() { //1. Когда указан только один глобальный //grgd9743gsdgdrgdrg7gvcb7gdg790rdgg7drg