Skip to content

Commit

Permalink
Merge pull request #7 from timotheecour/pr_fix_6
Browse files Browse the repository at this point in the history
fix #6
  • Loading branch information
ba0f3 committed Nov 16, 2018
2 parents 15c943a + 24cbf91 commit 389df34
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion scram.nimble
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version = "0.1.6"
version = "0.1.7"
author = "Huy Doan"
description = "Salted Challenge Response Authentication Mechanism (SCRAM) "
license = "MIT"
Expand Down
3 changes: 3 additions & 0 deletions scram/private/utils.nim
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
import random, base64, strutils, types, hmac, sha1
from md5 import MD5Digest
from nimSHA2 import Sha256Digest, Sha512Digest

randomize()

proc `$`*(sha: Sha1Digest): string = sha.toHex()
Expand Down

0 comments on commit 389df34

Please sign in to comment.