src/prologue/security/hasher

Procs

proc pbkdf2_sha256encode(password: SecretKey; salt: string; iterations = 24400): string {...}{.
    inline, raises: [ValueError], tags: [].}
  Source Edit
proc pbkdf2_sha256verify(password: SecretKey; encoded: string): bool {...}{.
    raises: [ValueError], tags: [].}
  Source Edit
proc pbkdf2_sha1encode(password: SecretKey; salt: string; iterations = 24400): string {...}{.
    inline, raises: [ValueError], tags: [].}
  Source Edit
proc pbkdf2_sha1verify(password: SecretKey; encoded: string): bool {...}{.
    raises: [ValueError], tags: [].}
  Source Edit