This is the cl-pass Reference Manual, version 0.1, generated automatically by Declt version 4.0 beta 2 "William Riker" on Sun Dec 15 05:15:20 2024 GMT+0.
The main system appears first, followed by any subsystem dependency.
cl-pass
Password hashing and verification library.
Fernando Borretti
MIT
# cl-pass
[![Build Status](https://travis-ci.org/eudoxia0/cl-pass.svg?branch=master)](https://travis-ci.org/eudoxia0/cl-pass)
[![Quicklisp badge](http://quickdocs.org/badge/cl-pass.svg)](http://quickdocs.org/cl-pass)
cl-pass is a password hashing and verification library. The source code was
originally part of [hermetic](https://github.com/eudoxia0/hermetic), and was
factored out to allow other libraries to use it.
# Usage
“‘lisp
cl-user> (cl-pass:hash "test")
"PBKDF2$sha256:20000$5cf6ee792cdf05e1ba2b6325c41a5f10$19c7f2ccb3880716bf7cdf999b3ed99e07c7a8140bab37af2afdc28d8806e854"
cl-user> (cl-pass:check-password "test" *)
t
cl-user> (cl-pass:check-password "nope" **)
nil
“‘
# License
Copyright (c) 2014-2015 Fernando Borretti (eudoxiahp@gmail.com)
Licensed under the MIT License.
0.1
ironclad
(system).
trivial-utf-8
(system).
split-sequence
(system).
src
(module).
Modules are listed depth-first from the system components tree.
Files are sorted by type and then listed depth-first from the systems components trees.
cl-pass/src/cl-pass.lisp
src
(module).
check-password
(function).
hash
(function).
salt
(function).
*package-random-state*
(special variable).
+known-digests+
(special variable).
constant-string=
(function).
parse-password-hash
(function).
pbkdf2
(function).
Packages are listed by definition order.
cl-pass
common-lisp
.
check-password
(function).
hash
(function).
salt
(function).
*package-random-state*
(special variable).
+known-digests+
(special variable).
constant-string=
(function).
parse-password-hash
(function).
pbkdf2
(function).
Definitions are sorted by export status, category, package, and then by lexicographic order.
Verify that PASS hashes to PASSWORD-HASH. Extracts the parameters (Salt, algorithm, number of iterations) in PASSWORD-HASH, so you don’t have to pass anything else.
Hash a password string.
Generate a salt of a given size.
Holds the random state used for generation of random numbers.
Custom string equality function to defeat timing attacks.
Parse a combined string into a list containing the digest; and the number of iterations, salt and algorithm used to produce it.
Jump to: | C F H P S |
---|
Jump to: | C F H P S |
---|
Jump to: | *
+
S |
---|
Jump to: | *
+
S |
---|
Jump to: | C F M P S |
---|
Jump to: | C F M P S |
---|