API for noir.util.crypt - Noir ()


Usage:
(ns your-namespace
  (:require noir.util.crypt))

Overview

Simple functions for hashing strings and comparing them. Typically used for storing passwords.

Public Variables and Functions



compare

function
Usage: (compare raw encrypted)
Compare a raw string with an already encrypted string


encrypt

function
Usage: (encrypt salt raw)
       (encrypt raw)
Encrypt the given string with a generated or supplied salt. Uses BCrypt for strong hashing.
Logo & site design by Tom Hickey.
Clojure auto-documentation system by Tom Faulhaber.