From 3fabf0074ac07b4a50158d067093ad9f566d19e5 Mon Sep 17 00:00:00 2001 From: hydrogen2oxygen Date: Tue, 14 Nov 2023 07:36:06 +0100 Subject: [PATCH] encryption test 2 --- .../java/de/pietro/lusso/territory/services/EncryptionTest.java | 1 + 1 file changed, 1 insertion(+) diff --git a/server/src/test/java/de/pietro/lusso/territory/services/EncryptionTest.java b/server/src/test/java/de/pietro/lusso/territory/services/EncryptionTest.java index fffec31..3b8ef47 100644 --- a/server/src/test/java/de/pietro/lusso/territory/services/EncryptionTest.java +++ b/server/src/test/java/de/pietro/lusso/territory/services/EncryptionTest.java @@ -41,6 +41,7 @@ public void testDecryptionAES() { public void testGenerateStrongSecret() { String strongSecret = encryptionTool.generateStrongSecret(256, true); System.out.println(strongSecret); + Assertions.assertEquals(64, strongSecret.length()); } }