(hashes-equal? hash1 hash2)Compares equality of two hashes by comparing every element to inhibit timing attacks.
Compares equality of two hashes by comparing every element to inhibit timing attacks.
(md5 bytes & {:keys [format] :or {format :hex}})Produces a MD5 hash of input bytes. Optional :format parameter determines output: :bytes :hex (default) :base64 :base64-urlsafe
Produces a MD5 hash of input bytes. Optional :format parameter determines output: :bytes :hex (default) :base64 :base64-urlsafe
(sha1 bytes & {:keys [format] :or {format :hex}})Produces a SHA-1 hash of input bytes. Optional :format parameter determines output: :bytes :hex (default) :base64 :base64-urlsafe
Produces a SHA-1 hash of input bytes. Optional :format parameter determines output: :bytes :hex (default) :base64 :base64-urlsafe
(sha256 bytes & {:keys [format] :or {format :hex}})Produces a SHA-256 hash of input bytes. Optional :format parameter determines output: :bytes :hex (default) :base64 :base64-urlsafe
Produces a SHA-256 hash of input bytes. Optional :format parameter determines output: :bytes :hex (default) :base64 :base64-urlsafe
(sha384 bytes & {:keys [format] :or {format :hex}})Produces a SHA-384 hash of input bytes. Optional :format parameter determines output: :bytes :hex (default) :base64 :base64-urlsafe
Produces a SHA-384 hash of input bytes. Optional :format parameter determines output: :bytes :hex (default) :base64 :base64-urlsafe
(sha512 bytes & {:keys [format] :or {format :hex}})Produces a SHA-512 hash of input bytes. Optional :format parameter determines output: :bytes :hex (default) :base64 :base64-urlsafe
Produces a SHA-512 hash of input bytes. Optional :format parameter determines output: :bytes :hex (default) :base64 :base64-urlsafe
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |