diff --git a/prologue.nimble b/prologue.nimble index 7a499fa58..401268a7f 100644 --- a/prologue.nimble +++ b/prologue.nimble @@ -8,7 +8,7 @@ srcDir = "src" # Dependencies -requires "nim >= 1.6.0" +requires "nim >= 2.0.0" requires "regex >= 0.20.0" requires "nimcrypto >= 0.5.4" requires "cookiejar >= 0.2.0" diff --git a/src/prologue/security/hasher.nim b/src/prologue/security/hasher.nim index 4e3557f1b..ded8e24a0 100644 --- a/src/prologue/security/hasher.nim +++ b/src/prologue/security/hasher.nim @@ -16,7 +16,7 @@ import std/[strformat, strutils] -import pkg/nimcrypto/pbkdf2 +import pkg/nimcrypto/[pbkdf2, sha, sha2] from ../core/types import SecretKey from ../core/encode import base64Encode