We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 536dd2b commit 81b03e3Copy full SHA for 81b03e3
2 files changed
hmac.nim
@@ -32,7 +32,7 @@ proc hash_md5*(s: string): MD5Digest {.procvar.} = toMD5(s)
32
33
proc toHex*[T](x: T): string {.inline.} =
34
when x is Sha1Digest:
35
- result = toLowerAscii($x.SecureHash)
+ result = toLowerAscii($SecureHash(x))
36
elif x is MD5Digest:
37
result = toLowerAscii($x)
38
else:
hmac.nimble
@@ -1,4 +1,4 @@
1
-version = "0.3.1"
+version = "0.3.2"
2
author = "Huy Doan"
3
description = "HMAC hashing in Nim"
4
license = "MIT"
0 commit comments