Skip to content

Commit 8cd9daf

Browse files
authored
Merge pull request #398 from nimelias/patch-1
little bug
2 parents 20072a2 + 454fcc0 commit 8cd9daf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/happyx/core/secure.nim

+2-2
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ using
1717
256
1818
elif cryptoMethod == "sha224":
1919
224
20-
elif cryptoMethod == "sha224":
20+
elif cryptoMethod == "sha384":
2121
384
2222
else:
2323
512
@@ -29,7 +29,7 @@ func generate_password*(source): MDigest[
2929
256
3030
elif cryptoMethod == "sha224":
3131
224
32-
elif cryptoMethod == "sha224":
32+
elif cryptoMethod == "sha384":
3333
384
3434
else:
3535
512

0 commit comments

Comments
 (0)