Commit 26160b05 authored by amirouche's avatar amirouche

argon2: add verify* which always return a boolean

parent 5b777d43
......@@ -131,3 +131,8 @@
(if (zero? out)
(throw 'argon2 (error-message out))))))
(define-public (verify* encoded password pepper)
(catch 'argon2
(lambda () (verify encoded password pepper))
(const #f)))
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment