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