noir.util.crypt documentation
Simple functions for hashing strings and comparing them. Typically used for storing passwords.
compare
(compare raw encrypted)
Compare a raw string with an already encrypted string
encrypt
(encrypt salt raw)
(encrypt raw)
Encrypt the given string with a generated or supplied salt. Uses BCrypt for strong hashing.