From 454fcc0ca43debc804f8bd6ef14e67772dce3ff6 Mon Sep 17 00:00:00 2001 From: nimelias <157959623+nimelias@users.noreply.github.com> Date: Fri, 21 Mar 2025 19:29:44 +0100 Subject: [PATCH] Update secure.nim sha384 --- src/happyx/core/secure.nim | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/happyx/core/secure.nim b/src/happyx/core/secure.nim index 29b1c48a..be2647b6 100644 --- a/src/happyx/core/secure.nim +++ b/src/happyx/core/secure.nim @@ -17,7 +17,7 @@ using 256 elif cryptoMethod == "sha224": 224 - elif cryptoMethod == "sha224": + elif cryptoMethod == "sha384": 384 else: 512 @@ -29,7 +29,7 @@ func generate_password*(source): MDigest[ 256 elif cryptoMethod == "sha224": 224 - elif cryptoMethod == "sha224": + elif cryptoMethod == "sha384": 384 else: 512