The crypto-shortcuts Reference Manual
Table of Contents
The crypto-shortcuts Reference Manual
This is the crypto-shortcuts Reference Manual, version 2.0.0,
generated automatically by Declt version 3.0 "Montgomery Scott"
on Tue Dec 22 13:12:27 2020 GMT+0.
1 Introduction
About Crypto Shortcuts
This is a small wrapper library around ironclad and cl-base64 to provide quick and easy access to frequently used cryptography functionality like hashing, encoding and encrypting.
How To
(cryptos:from-base64 (cryptos:to-base64 "CLがすごいです。"))
(cryptos:decrypt (cryptos:encrypt "Lispy Secrets, oooOOooo" "1234567890123456") "1234567890123456")
(cryptos:pbkdf2-hash "My passwords have never been this secure, whoa nelly!" "salty snacks")
(cryptos:simple-hash "I guess not everyone can afford PBKDF2." "crisps")
(cryptos:md5 "MD5 hashes are weak, but still sometimes useful.")
(cryptos:sha512 "If you don't need hash iterations or salts like simple-hash provides, this w
2 Systems
The main system appears first, followed by any subsystem dependency.
2.1 crypto-shortcuts
- Maintainer
Nicolas Hafner <shinmera@tymoon.eu>
- Author
Nicolas Hafner <shinmera@tymoon.eu>
- Home Page
https://Shinmera.github.io/crypto-shortcuts/
- Source Control
(:git "https://github.com/shinmera/crypto-shortcuts.git")
- Bug Tracker
https://github.com/Shinmera/crypto-shortcuts/issues
- License
zlib
- Description
Shorthand functions for common cryptography tasks such as hashing, encrypting, and encoding.
- Version
2.0.0
- Dependencies
- ironclad
- cl-base64
- flexi-streams
- Source
crypto-shortcuts.asd (file)
- Components
-
3 Files
Files are sorted by type and then listed depth-first from the systems
components trees.
3.1 Lisp
3.1.1 crypto-shortcuts.asd
- Location
crypto-shortcuts.asd
- Systems
crypto-shortcuts (system)
3.1.2 crypto-shortcuts/package.lisp
- Parent
crypto-shortcuts (system)
- Location
package.lisp
- Packages
crypto-shortcuts
3.1.3 crypto-shortcuts/encode.lisp
- Dependency
package.lisp (file)
- Parent
crypto-shortcuts (system)
- Location
encode.lisp
- Exported Definitions
-
3.1.4 crypto-shortcuts/crypto.lisp
- Dependency
encode.lisp (file)
- Parent
crypto-shortcuts (system)
- Location
crypto.lisp
- Exported Definitions
-
3.1.5 crypto-shortcuts/hashing.lisp
- Dependency
crypto.lisp (file)
- Parent
crypto-shortcuts (system)
- Location
hashing.lisp
- Exported Definitions
-
3.1.6 crypto-shortcuts/digests.lisp
- Dependency
hashing.lisp (file)
- Parent
crypto-shortcuts (system)
- Location
digests.lisp
- Exported Definitions
-
- Internal Definitions
-
3.1.7 crypto-shortcuts/documentation.lisp
- Dependency
digests.lisp (file)
- Parent
crypto-shortcuts (system)
- Location
documentation.lisp
- Internal Definitions
setdocs (macro)
4 Packages
Packages are listed by definition order.
4.1 crypto-shortcuts
- Source
package.lisp (file)
- Nicknames
- cryptos
- org.shirakumo.crypto-shortcuts
- Use List
common-lisp
- Exported Definitions
-
- Internal Definitions
-
5 Definitions
Definitions are sorted by export status, category, package, and then by
lexicographic order.
5.1 Exported definitions
5.1.1 Functions
- Function: adler32 STRING &key TO ENCODE
-
Turn a string into a ADLER32-hash.
TO is the returned representation
ENCODE is the encoding before hashing
See TO.
- Package
crypto-shortcuts
- Source
digests.lisp (file)
- Function: crc24 STRING &key TO ENCODE
-
Turn a string into a CRC24-hash.
TO is the returned representation
ENCODE is the encoding before hashing
See TO.
- Package
crypto-shortcuts
- Source
digests.lisp (file)
- Function: crc32 STRING &key TO ENCODE
-
Turn a string into a CRC32-hash.
TO is the returned representation
ENCODE is the encoding before hashing
See TO.
- Package
crypto-shortcuts
- Source
digests.lisp (file)
- Function: md2 STRING &key TO ENCODE
-
Turn a string into a MD2-hash.
TO is the returned representation
ENCODE is the encoding before hashing
See TO.
- Package
crypto-shortcuts
- Source
digests.lisp (file)
- Function: md4 STRING &key TO ENCODE
-
Turn a string into a MD4-hash.
TO is the returned representation
ENCODE is the encoding before hashing
See TO.
- Package
crypto-shortcuts
- Source
digests.lisp (file)
- Function: md5 STRING &key TO ENCODE
-
Turn a string into a MD5-hash.
TO is the returned representation
ENCODE is the encoding before hashing
See TO.
- Package
crypto-shortcuts
- Source
digests.lisp (file)
- Function: pbkdf2-hash PASSWORD SALT &key DIGEST ITERATIONS TO
-
Hasehs PASSWORD with SALT using the PBKDF2 method and the provided DIGEST, repeating the process ITERATION times.
The returned hash is encoded using the method specified in TO.
The default DIGEST is SHA512, the iteration is 1000, and TO is HEX.
Four values are returned: hash, salt (as a string), digest, and iterations.
See TO.
- Package
crypto-shortcuts
- Source
hashing.lisp (file)
- Function: pbkdf2-key PASSWORD SALT &rest ARGS &key DIGEST ITERATIONS
-
Hashes PASSWORD with SALT using the PBKDF2 method and the provided DIGEST, repeating the process ITERATION times.
The default DIGEST is SHA512, and the iteration is 1000.
Four values are returned: hash as an octet-vector, salt (as a string), digest, and iterations.
LEGACY. Use PBKDF2-HASH instead.
- Package
crypto-shortcuts
- Source
hashing.lisp (file)
- Function: ripemd-128 STRING &key TO ENCODE
-
Turn a string into a RIPEMD-128-hash.
TO is the returned representation
ENCODE is the encoding before hashing
See TO.
- Package
crypto-shortcuts
- Source
digests.lisp (file)
- Function: ripemd-160 STRING &key TO ENCODE
-
Turn a string into a RIPEMD-160-hash.
TO is the returned representation
ENCODE is the encoding before hashing
See TO.
- Package
crypto-shortcuts
- Source
digests.lisp (file)
- Function: sha1 STRING &key TO ENCODE
-
Turn a string into a SHA1-hash.
TO is the returned representation
ENCODE is the encoding before hashing
See TO.
- Package
crypto-shortcuts
- Source
digests.lisp (file)
- Function: sha224 STRING &key TO ENCODE
-
Turn a string into a SHA224-hash.
TO is the returned representation
ENCODE is the encoding before hashing
See TO.
- Package
crypto-shortcuts
- Source
digests.lisp (file)
- Function: sha256 STRING &key TO ENCODE
-
Turn a string into a SHA256-hash.
TO is the returned representation
ENCODE is the encoding before hashing
See TO.
- Package
crypto-shortcuts
- Source
digests.lisp (file)
- Function: sha384 STRING &key TO ENCODE
-
Turn a string into a SHA384-hash.
TO is the returned representation
ENCODE is the encoding before hashing
See TO.
- Package
crypto-shortcuts
- Source
digests.lisp (file)
- Function: sha512 STRING &key TO ENCODE
-
Turn a string into a SHA512-hash.
TO is the returned representation
ENCODE is the encoding before hashing
See TO.
- Package
crypto-shortcuts
- Source
digests.lisp (file)
- Function: simple-hash PASSWORD SALT &key DIGEST ITERATIONS TO
-
Hashes PASSWORD with SALT using DIGEST as the digest-method and repeats the hashing ITERATIONS times.
The returned hash is encoded using the method specified in TO.
The default DIGEST is SHA512, the iteration is 1000, and TO is HEX.
Four values are returned: hash, salt (as a string), digest, and iterations.
See TO.
- Package
crypto-shortcuts
- Source
hashing.lisp (file)
- Function: tiger STRING &key TO ENCODE
-
Turn a string into a TIGER-hash.
TO is the returned representation
ENCODE is the encoding before hashing
See TO.
- Package
crypto-shortcuts
- Source
digests.lisp (file)
- Function: tree-hash STRING &key TO ENCODE
-
Turn a string into a TREE-HASH-hash.
TO is the returned representation
ENCODE is the encoding before hashing
See TO.
- Package
crypto-shortcuts
- Source
digests.lisp (file)
- Function: whirlpool STRING &key TO ENCODE
-
Turn a string into a WHIRLPOOL-hash.
TO is the returned representation
ENCODE is the encoding before hashing
See TO.
- Package
crypto-shortcuts
- Source
digests.lisp (file)
5.1.2 Generic functions
- Generic Function: cmac TEXT KEY &key CIPHER MODE IV TO NORMALIZE-KEY
-
Generate a CMAC digest of TEXT using KEY and the provided CIPHER/MODE/IV.
The returned digest is encoded by the format specified in TO.
The default cipher is AES, default mode is ECB, and default TO is BASE64.
Four values are returned: digest, key, cipher, mode, and IV.
See TO
See NORMALIZE-KEY
- Package
crypto-shortcuts
- Source
crypto.lisp (file)
- Methods
- Method: cmac TEXT KEY &key CIPHER MODE IV TO NORMALIZE-KEY
-
- Generic Function: code FROM TO VECTOR
-
Convenience function to de/encode in one pass.
By default, FROM and TO can both be one of:
:OCTETS :STRING :HEX :BASE64
If FROM is NIL, then TO is called with the remaining arguments.
- Package
crypto-shortcuts
- Source
encode.lisp (file)
- Methods
- Method: code (FROM (eql nil)) TO VECTOR
-
- Method: code (FROM (eql octets)) (TO (eql octets)) VECTOR
-
- Method: code (FROM (eql octets)) (TO (eql string)) VECTOR
-
- Method: code (FROM (eql octets)) (TO (eql hex)) VECTOR
-
- Method: code (FROM (eql octets)) (TO (eql base64)) VECTOR
-
- Method: code (FROM (eql string)) (TO (eql octets)) VECTOR
-
- Method: code (FROM (eql string)) (TO (eql string)) VECTOR
-
- Method: code (FROM (eql string)) (TO (eql hex)) VECTOR
-
- Method: code (FROM (eql string)) (TO (eql base64)) VECTOR
-
- Method: code (FROM (eql hex)) (TO (eql octets)) VECTOR
-
- Method: code (FROM (eql hex)) (TO (eql string)) VECTOR
-
- Method: code (FROM (eql hex)) (TO (eql hex)) VECTOR
-
- Method: code (FROM (eql hex)) (TO (eql base64)) VECTOR
-
- Method: code (FROM (eql base64)) TO VECTOR
-
- Generic Function: decrypt TEXT KEY &key CIPHER MODE IV FROM NORMALIZE-KEY
-
Decrypt TEXT with KEY using the provided CIPHER/MODE/IV.
Depending on the mode, the key should be of length 16, 32, or 64.
The passed text is decoded by the format specified in FROM.
The default cipher is AES, default mode is ECB, and default TO is BASE64.
Four values are returned: Decrypted text, key, cipher, mode, and IV.
See CODE
See NORMALIZE-KEY
- Package
crypto-shortcuts
- Source
crypto.lisp (file)
- Methods
- Method: decrypt TEXT KEY &key CIPHER MODE IV FROM NORMALIZE-KEY
-
- Generic Function: encrypt TEXT KEY &key CIPHER MODE IV TO NORMALIZE-KEY
-
Encrypt TEXT with KEY using the provided CIPHER/MODE/IV.
Depending on the mode, the key should be of length 16, 32, or 64.
The returned encrypted vector is encoded by the format specified in TO.
The default cipher is AES, default mode is ECB, and default TO is BASE64.
Four values are returned: Encrypted&encoded text, key, cipher, mode, and IV.
See TO
See NORMALIZE-KEY
- Package
crypto-shortcuts
- Source
crypto.lisp (file)
- Methods
- Method: encrypt TEXT KEY &key CIPHER MODE IV TO NORMALIZE-KEY
-
- Generic Function: from-base64 VECTOR &optional TO
-
Turns a base64-encoded vector into a vector encoded by TO.
See TO.
- Package
crypto-shortcuts
- Source
encode.lisp (file)
- Methods
- Method: from-base64 (STRING string) &optional TO
-
- Method: from-base64 (VECTOR vector) &optional TO
-
- Generic Function: from-hex HEX-STRING
-
Turn the hex-string into an octet-vector.
- Package
crypto-shortcuts
- Source
encode.lisp (file)
- Methods
- Method: from-hex (STRING string)
-
- Generic Function: get-cipher KEY &key CIPHER MODE IV
-
Return the corresponding cipher with KEY using MODE and potentially the initialization-vector IV.
- Package
crypto-shortcuts
- Source
crypto.lisp (file)
- Methods
- Method: get-cipher KEY &key CIPHER MODE IV
-
- Generic Function: hmac TEXT KEY &key DIGEST TO
-
Generate an HMAC digest of TEXT using KEY and the provided DIGEST method.
The returned digest is encoded by the format specified in TO.
The default digest is SHA512, and default TO is BASE64.
Three values are returned: digest, key, and digest-type.
See TO
- Package
crypto-shortcuts
- Source
crypto.lisp (file)
- Methods
- Method: hmac TEXT KEY &key DIGEST TO
-
- Generic Function: make-salt SALT
-
Create a salt from the given object.
(eql T) – A random salt
INTEGER – A salt of this size
STRING – Use this string as an octet-vector
VECTOR – Use this vector directly
See TO-OCTETS
- Package
crypto-shortcuts
- Source
hashing.lisp (file)
- Methods
- Method: make-salt (SALT (eql t))
-
- Method: make-salt (SIZE integer)
-
- Method: make-salt (SALT string)
-
- Method: make-salt (SALT vector)
-
- Generic Function: normalize-key METHOD KEY
-
Normalizes the KEY to an octet-vector using METHOD.
By default, method can be one of:
:HASH – Hash it by sha256
:FIT – Truncate or pad it out before turning into octets.
NIL – Just turn it into an octet-vector.
- Package
crypto-shortcuts
- Source
crypto.lisp (file)
- Methods
- Method: normalize-key (METHOD (eql hash)) KEY
-
- Method: normalize-key (METHOD (eql fit)) KEY
-
- Method: normalize-key (METHOD (eql nil)) KEY
-
- Generic Function: to THING VECTOR
-
Convenience function to call the various encoders.
By default, THING can be one of:
NIL – Returns VECTOR
:OCTETS – See TO-OCTETS
:STRING – See TO-STRING
:HEX – See TO-HEX
:BASE64 – See TO-BASE64
- Package
crypto-shortcuts
- Source
encode.lisp (file)
- Methods
- Method: to (THING (eql nil)) VECTOR
-
- Method: to (THING (eql octets)) VECTOR
-
- Method: to (THING (eql string)) VECTOR
-
- Method: to (THING (eql hex)) VECTOR
-
- Method: to (THING (eql base64)) VECTOR
-
- Generic Function: to-base64 SEQUENCE
-
Turns a vector into a base64-encoded string.
- Package
crypto-shortcuts
- Source
encode.lisp (file)
- Methods
- Method: to-base64 (INTEGER integer)
-
- Method: to-base64 (VECTOR vector)
-
- Method: to-base64 (STRING string)
-
- Method: to-base64 (SYMBOL symbol)
-
- Generic Function: to-hex VECTOR
-
Turn VECTOR into a hex-string.
- Package
crypto-shortcuts
- Source
encode.lisp (file)
- Methods
- Method: to-hex (SYMBOL symbol)
-
- Method: to-hex (STRING string)
-
- Method: to-hex (VECTOR vector)
-
- Generic Function: to-octets STRING &optional FORMAT
-
Turns STRING into a FORMAT (default UTF-8) encoded octet-vector.
- Package
crypto-shortcuts
- Source
encode.lisp (file)
- Methods
- Method: to-octets (SYMBOL symbol) &optional FORMAT
-
- Method: to-octets (STRING string) &optional FORMAT
-
- Method: to-octets (VECTOR vector) &optional FORMAT
-
- Generic Function: to-string OCTETS &optional FORMAT
-
Turns OCTETS from FORMAT (default UTF-8) encoding into a string.
- Package
crypto-shortcuts
- Source
encode.lisp (file)
- Methods
- Method: to-string (VECTOR vector) &optional FORMAT
-
- Method: to-string (STRING string) &optional FORMAT
-
5.2 Internal definitions
5.2.1 Macros
- Macro: define-digest-wrapper DIGEST
-
- Package
crypto-shortcuts
- Source
digests.lisp (file)
- Macro: setdocs &body PAIRS
-
- Package
crypto-shortcuts
- Source
documentation.lisp (file)
5.2.2 Functions
- Function: blake2 STRING &key TO ENCODE
-
Turn a string into a BLAKE2-hash.
TO is the returned representation
ENCODE is the encoding before hashing
See TO.
- Package
crypto-shortcuts
- Source
digests.lisp (file)
- Function: blake2/160 STRING &key TO ENCODE
-
Turn a string into a BLAKE2/160-hash.
TO is the returned representation
ENCODE is the encoding before hashing
See TO.
- Package
crypto-shortcuts
- Source
digests.lisp (file)
- Function: blake2/256 STRING &key TO ENCODE
-
Turn a string into a BLAKE2/256-hash.
TO is the returned representation
ENCODE is the encoding before hashing
See TO.
- Package
crypto-shortcuts
- Source
digests.lisp (file)
- Function: blake2/384 STRING &key TO ENCODE
-
Turn a string into a BLAKE2/384-hash.
TO is the returned representation
ENCODE is the encoding before hashing
See TO.
- Package
crypto-shortcuts
- Source
digests.lisp (file)
- Function: blake2s STRING &key TO ENCODE
-
Turn a string into a BLAKE2S-hash.
TO is the returned representation
ENCODE is the encoding before hashing
See TO.
- Package
crypto-shortcuts
- Source
digests.lisp (file)
- Function: blake2s/128 STRING &key TO ENCODE
-
Turn a string into a BLAKE2S/128-hash.
TO is the returned representation
ENCODE is the encoding before hashing
See TO.
- Package
crypto-shortcuts
- Source
digests.lisp (file)
- Function: blake2s/160 STRING &key TO ENCODE
-
Turn a string into a BLAKE2S/160-hash.
TO is the returned representation
ENCODE is the encoding before hashing
See TO.
- Package
crypto-shortcuts
- Source
digests.lisp (file)
- Function: blake2s/224 STRING &key TO ENCODE
-
Turn a string into a BLAKE2S/224-hash.
TO is the returned representation
ENCODE is the encoding before hashing
See TO.
- Package
crypto-shortcuts
- Source
digests.lisp (file)
- Function: groestl STRING &key TO ENCODE
-
Turn a string into a GROESTL-hash.
TO is the returned representation
ENCODE is the encoding before hashing
See TO.
- Package
crypto-shortcuts
- Source
digests.lisp (file)
- Function: groestl/224 STRING &key TO ENCODE
-
Turn a string into a GROESTL/224-hash.
TO is the returned representation
ENCODE is the encoding before hashing
See TO.
- Package
crypto-shortcuts
- Source
digests.lisp (file)
- Function: groestl/256 STRING &key TO ENCODE
-
Turn a string into a GROESTL/256-hash.
TO is the returned representation
ENCODE is the encoding before hashing
See TO.
- Package
crypto-shortcuts
- Source
digests.lisp (file)
- Function: groestl/384 STRING &key TO ENCODE
-
Turn a string into a GROESTL/384-hash.
TO is the returned representation
ENCODE is the encoding before hashing
See TO.
- Package
crypto-shortcuts
- Source
digests.lisp (file)
- Function: jh STRING &key TO ENCODE
-
Turn a string into a JH-hash.
TO is the returned representation
ENCODE is the encoding before hashing
See TO.
- Package
crypto-shortcuts
- Source
digests.lisp (file)
- Function: jh/224 STRING &key TO ENCODE
-
Turn a string into a JH/224-hash.
TO is the returned representation
ENCODE is the encoding before hashing
See TO.
- Package
crypto-shortcuts
- Source
digests.lisp (file)
- Function: jh/256 STRING &key TO ENCODE
-
Turn a string into a JH/256-hash.
TO is the returned representation
ENCODE is the encoding before hashing
See TO.
- Package
crypto-shortcuts
- Source
digests.lisp (file)
- Function: jh/384 STRING &key TO ENCODE
-
Turn a string into a JH/384-hash.
TO is the returned representation
ENCODE is the encoding before hashing
See TO.
- Package
crypto-shortcuts
- Source
digests.lisp (file)
- Function: keccak STRING &key TO ENCODE
-
Turn a string into a KECCAK-hash.
TO is the returned representation
ENCODE is the encoding before hashing
See TO.
- Package
crypto-shortcuts
- Source
digests.lisp (file)
- Function: keccak/224 STRING &key TO ENCODE
-
Turn a string into a KECCAK/224-hash.
TO is the returned representation
ENCODE is the encoding before hashing
See TO.
- Package
crypto-shortcuts
- Source
digests.lisp (file)
- Function: keccak/256 STRING &key TO ENCODE
-
Turn a string into a KECCAK/256-hash.
TO is the returned representation
ENCODE is the encoding before hashing
See TO.
- Package
crypto-shortcuts
- Source
digests.lisp (file)
- Function: keccak/384 STRING &key TO ENCODE
-
Turn a string into a KECCAK/384-hash.
TO is the returned representation
ENCODE is the encoding before hashing
See TO.
- Package
crypto-shortcuts
- Source
digests.lisp (file)
- Function: kupyna STRING &key TO ENCODE
-
Turn a string into a KUPYNA-hash.
TO is the returned representation
ENCODE is the encoding before hashing
See TO.
- Package
crypto-shortcuts
- Source
digests.lisp (file)
- Function: kupyna/256 STRING &key TO ENCODE
-
Turn a string into a KUPYNA/256-hash.
TO is the returned representation
ENCODE is the encoding before hashing
See TO.
- Package
crypto-shortcuts
- Source
digests.lisp (file)
- Function: sha3 STRING &key TO ENCODE
-
Turn a string into a SHA3-hash.
TO is the returned representation
ENCODE is the encoding before hashing
See TO.
- Package
crypto-shortcuts
- Source
digests.lisp (file)
- Function: sha3/224 STRING &key TO ENCODE
-
Turn a string into a SHA3/224-hash.
TO is the returned representation
ENCODE is the encoding before hashing
See TO.
- Package
crypto-shortcuts
- Source
digests.lisp (file)
- Function: sha3/256 STRING &key TO ENCODE
-
Turn a string into a SHA3/256-hash.
TO is the returned representation
ENCODE is the encoding before hashing
See TO.
- Package
crypto-shortcuts
- Source
digests.lisp (file)
- Function: sha3/384 STRING &key TO ENCODE
-
Turn a string into a SHA3/384-hash.
TO is the returned representation
ENCODE is the encoding before hashing
See TO.
- Package
crypto-shortcuts
- Source
digests.lisp (file)
- Function: shake128 STRING &key TO ENCODE
-
Turn a string into a SHAKE128-hash.
TO is the returned representation
ENCODE is the encoding before hashing
See TO.
- Package
crypto-shortcuts
- Source
digests.lisp (file)
- Function: shake256 STRING &key TO ENCODE
-
Turn a string into a SHAKE256-hash.
TO is the returned representation
ENCODE is the encoding before hashing
See TO.
- Package
crypto-shortcuts
- Source
digests.lisp (file)
- Function: skein1024 STRING &key TO ENCODE
-
Turn a string into a SKEIN1024-hash.
TO is the returned representation
ENCODE is the encoding before hashing
See TO.
- Package
crypto-shortcuts
- Source
digests.lisp (file)
- Function: skein1024/384 STRING &key TO ENCODE
-
Turn a string into a SKEIN1024/384-hash.
TO is the returned representation
ENCODE is the encoding before hashing
See TO.
- Package
crypto-shortcuts
- Source
digests.lisp (file)
- Function: skein1024/512 STRING &key TO ENCODE
-
Turn a string into a SKEIN1024/512-hash.
TO is the returned representation
ENCODE is the encoding before hashing
See TO.
- Package
crypto-shortcuts
- Source
digests.lisp (file)
- Function: skein256 STRING &key TO ENCODE
-
Turn a string into a SKEIN256-hash.
TO is the returned representation
ENCODE is the encoding before hashing
See TO.
- Package
crypto-shortcuts
- Source
digests.lisp (file)
- Function: skein256/128 STRING &key TO ENCODE
-
Turn a string into a SKEIN256/128-hash.
TO is the returned representation
ENCODE is the encoding before hashing
See TO.
- Package
crypto-shortcuts
- Source
digests.lisp (file)
- Function: skein256/160 STRING &key TO ENCODE
-
Turn a string into a SKEIN256/160-hash.
TO is the returned representation
ENCODE is the encoding before hashing
See TO.
- Package
crypto-shortcuts
- Source
digests.lisp (file)
- Function: skein256/224 STRING &key TO ENCODE
-
Turn a string into a SKEIN256/224-hash.
TO is the returned representation
ENCODE is the encoding before hashing
See TO.
- Package
crypto-shortcuts
- Source
digests.lisp (file)
- Function: skein512 STRING &key TO ENCODE
-
Turn a string into a SKEIN512-hash.
TO is the returned representation
ENCODE is the encoding before hashing
See TO.
- Package
crypto-shortcuts
- Source
digests.lisp (file)
- Function: skein512/128 STRING &key TO ENCODE
-
Turn a string into a SKEIN512/128-hash.
TO is the returned representation
ENCODE is the encoding before hashing
See TO.
- Package
crypto-shortcuts
- Source
digests.lisp (file)
- Function: skein512/160 STRING &key TO ENCODE
-
Turn a string into a SKEIN512/160-hash.
TO is the returned representation
ENCODE is the encoding before hashing
See TO.
- Package
crypto-shortcuts
- Source
digests.lisp (file)
- Function: skein512/224 STRING &key TO ENCODE
-
Turn a string into a SKEIN512/224-hash.
TO is the returned representation
ENCODE is the encoding before hashing
See TO.
- Package
crypto-shortcuts
- Source
digests.lisp (file)
- Function: skein512/256 STRING &key TO ENCODE
-
Turn a string into a SKEIN512/256-hash.
TO is the returned representation
ENCODE is the encoding before hashing
See TO.
- Package
crypto-shortcuts
- Source
digests.lisp (file)
- Function: skein512/384 STRING &key TO ENCODE
-
Turn a string into a SKEIN512/384-hash.
TO is the returned representation
ENCODE is the encoding before hashing
See TO.
- Package
crypto-shortcuts
- Source
digests.lisp (file)
- Function: sm3 STRING &key TO ENCODE
-
Turn a string into a SM3-hash.
TO is the returned representation
ENCODE is the encoding before hashing
See TO.
- Package
crypto-shortcuts
- Source
digests.lisp (file)
- Function: streebog STRING &key TO ENCODE
-
Turn a string into a STREEBOG-hash.
TO is the returned representation
ENCODE is the encoding before hashing
See TO.
- Package
crypto-shortcuts
- Source
digests.lisp (file)
- Function: streebog/256 STRING &key TO ENCODE
-
Turn a string into a STREEBOG/256-hash.
TO is the returned representation
ENCODE is the encoding before hashing
See TO.
- Package
crypto-shortcuts
- Source
digests.lisp (file)
Appendix A Indexes
A.1 Concepts
| Index Entry | | Section |
|
C | | |
| crypto-shortcuts.asd: | | The crypto-shortcuts․asd file |
| crypto-shortcuts/crypto.lisp: | | The crypto-shortcuts/crypto․lisp file |
| crypto-shortcuts/digests.lisp: | | The crypto-shortcuts/digests․lisp file |
| crypto-shortcuts/documentation.lisp: | | The crypto-shortcuts/documentation․lisp file |
| crypto-shortcuts/encode.lisp: | | The crypto-shortcuts/encode․lisp file |
| crypto-shortcuts/hashing.lisp: | | The crypto-shortcuts/hashing․lisp file |
| crypto-shortcuts/package.lisp: | | The crypto-shortcuts/package․lisp file |
|
F | | |
| File, Lisp, crypto-shortcuts.asd: | | The crypto-shortcuts․asd file |
| File, Lisp, crypto-shortcuts/crypto.lisp: | | The crypto-shortcuts/crypto․lisp file |
| File, Lisp, crypto-shortcuts/digests.lisp: | | The crypto-shortcuts/digests․lisp file |
| File, Lisp, crypto-shortcuts/documentation.lisp: | | The crypto-shortcuts/documentation․lisp file |
| File, Lisp, crypto-shortcuts/encode.lisp: | | The crypto-shortcuts/encode․lisp file |
| File, Lisp, crypto-shortcuts/hashing.lisp: | | The crypto-shortcuts/hashing․lisp file |
| File, Lisp, crypto-shortcuts/package.lisp: | | The crypto-shortcuts/package․lisp file |
|
L | | |
| Lisp File, crypto-shortcuts.asd: | | The crypto-shortcuts․asd file |
| Lisp File, crypto-shortcuts/crypto.lisp: | | The crypto-shortcuts/crypto․lisp file |
| Lisp File, crypto-shortcuts/digests.lisp: | | The crypto-shortcuts/digests․lisp file |
| Lisp File, crypto-shortcuts/documentation.lisp: | | The crypto-shortcuts/documentation․lisp file |
| Lisp File, crypto-shortcuts/encode.lisp: | | The crypto-shortcuts/encode․lisp file |
| Lisp File, crypto-shortcuts/hashing.lisp: | | The crypto-shortcuts/hashing․lisp file |
| Lisp File, crypto-shortcuts/package.lisp: | | The crypto-shortcuts/package․lisp file |
|
A.2 Functions
| Index Entry | | Section |
|
A | | |
| adler32 : | | Exported functions |
|
B | | |
| blake2 : | | Internal functions |
| blake2/160 : | | Internal functions |
| blake2/256 : | | Internal functions |
| blake2/384 : | | Internal functions |
| blake2s : | | Internal functions |
| blake2s/128 : | | Internal functions |
| blake2s/160 : | | Internal functions |
| blake2s/224 : | | Internal functions |
|
C | | |
| cmac : | | Exported generic functions |
| cmac : | | Exported generic functions |
| code : | | Exported generic functions |
| code : | | Exported generic functions |
| code : | | Exported generic functions |
| code : | | Exported generic functions |
| code : | | Exported generic functions |
| code : | | Exported generic functions |
| code : | | Exported generic functions |
| code : | | Exported generic functions |
| code : | | Exported generic functions |
| code : | | Exported generic functions |
| code : | | Exported generic functions |
| code : | | Exported generic functions |
| code : | | Exported generic functions |
| code : | | Exported generic functions |
| code : | | Exported generic functions |
| crc24 : | | Exported functions |
| crc32 : | | Exported functions |
|
D | | |
| decrypt : | | Exported generic functions |
| decrypt : | | Exported generic functions |
| define-digest-wrapper : | | Internal macros |
|
E | | |
| encrypt : | | Exported generic functions |
| encrypt : | | Exported generic functions |
|
F | | |
| from-base64 : | | Exported generic functions |
| from-base64 : | | Exported generic functions |
| from-base64 : | | Exported generic functions |
| from-hex : | | Exported generic functions |
| from-hex : | | Exported generic functions |
| Function, adler32 : | | Exported functions |
| Function, blake2 : | | Internal functions |
| Function, blake2/160 : | | Internal functions |
| Function, blake2/256 : | | Internal functions |
| Function, blake2/384 : | | Internal functions |
| Function, blake2s : | | Internal functions |
| Function, blake2s/128 : | | Internal functions |
| Function, blake2s/160 : | | Internal functions |
| Function, blake2s/224 : | | Internal functions |
| Function, crc24 : | | Exported functions |
| Function, crc32 : | | Exported functions |
| Function, groestl : | | Internal functions |
| Function, groestl/224 : | | Internal functions |
| Function, groestl/256 : | | Internal functions |
| Function, groestl/384 : | | Internal functions |
| Function, jh : | | Internal functions |
| Function, jh/224 : | | Internal functions |
| Function, jh/256 : | | Internal functions |
| Function, jh/384 : | | Internal functions |
| Function, keccak : | | Internal functions |
| Function, keccak/224 : | | Internal functions |
| Function, keccak/256 : | | Internal functions |
| Function, keccak/384 : | | Internal functions |
| Function, kupyna : | | Internal functions |
| Function, kupyna/256 : | | Internal functions |
| Function, md2 : | | Exported functions |
| Function, md4 : | | Exported functions |
| Function, md5 : | | Exported functions |
| Function, pbkdf2-hash : | | Exported functions |
| Function, pbkdf2-key : | | Exported functions |
| Function, ripemd-128 : | | Exported functions |
| Function, ripemd-160 : | | Exported functions |
| Function, sha1 : | | Exported functions |
| Function, sha224 : | | Exported functions |
| Function, sha256 : | | Exported functions |
| Function, sha3 : | | Internal functions |
| Function, sha3/224 : | | Internal functions |
| Function, sha3/256 : | | Internal functions |
| Function, sha3/384 : | | Internal functions |
| Function, sha384 : | | Exported functions |
| Function, sha512 : | | Exported functions |
| Function, shake128 : | | Internal functions |
| Function, shake256 : | | Internal functions |
| Function, simple-hash : | | Exported functions |
| Function, skein1024 : | | Internal functions |
| Function, skein1024/384 : | | Internal functions |
| Function, skein1024/512 : | | Internal functions |
| Function, skein256 : | | Internal functions |
| Function, skein256/128 : | | Internal functions |
| Function, skein256/160 : | | Internal functions |
| Function, skein256/224 : | | Internal functions |
| Function, skein512 : | | Internal functions |
| Function, skein512/128 : | | Internal functions |
| Function, skein512/160 : | | Internal functions |
| Function, skein512/224 : | | Internal functions |
| Function, skein512/256 : | | Internal functions |
| Function, skein512/384 : | | Internal functions |
| Function, sm3 : | | Internal functions |
| Function, streebog : | | Internal functions |
| Function, streebog/256 : | | Internal functions |
| Function, tiger : | | Exported functions |
| Function, tree-hash : | | Exported functions |
| Function, whirlpool : | | Exported functions |
|
G | | |
| Generic Function, cmac : | | Exported generic functions |
| Generic Function, code : | | Exported generic functions |
| Generic Function, decrypt : | | Exported generic functions |
| Generic Function, encrypt : | | Exported generic functions |
| Generic Function, from-base64 : | | Exported generic functions |
| Generic Function, from-hex : | | Exported generic functions |
| Generic Function, get-cipher : | | Exported generic functions |
| Generic Function, hmac : | | Exported generic functions |
| Generic Function, make-salt : | | Exported generic functions |
| Generic Function, normalize-key : | | Exported generic functions |
| Generic Function, to : | | Exported generic functions |
| Generic Function, to-base64 : | | Exported generic functions |
| Generic Function, to-hex : | | Exported generic functions |
| Generic Function, to-octets : | | Exported generic functions |
| Generic Function, to-string : | | Exported generic functions |
| get-cipher : | | Exported generic functions |
| get-cipher : | | Exported generic functions |
| groestl : | | Internal functions |
| groestl/224 : | | Internal functions |
| groestl/256 : | | Internal functions |
| groestl/384 : | | Internal functions |
|
H | | |
| hmac : | | Exported generic functions |
| hmac : | | Exported generic functions |
|
J | | |
| jh : | | Internal functions |
| jh/224 : | | Internal functions |
| jh/256 : | | Internal functions |
| jh/384 : | | Internal functions |
|
K | | |
| keccak : | | Internal functions |
| keccak/224 : | | Internal functions |
| keccak/256 : | | Internal functions |
| keccak/384 : | | Internal functions |
| kupyna : | | Internal functions |
| kupyna/256 : | | Internal functions |
|
M | | |
| Macro, define-digest-wrapper : | | Internal macros |
| Macro, setdocs : | | Internal macros |
| make-salt : | | Exported generic functions |
| make-salt : | | Exported generic functions |
| make-salt : | | Exported generic functions |
| make-salt : | | Exported generic functions |
| make-salt : | | Exported generic functions |
| md2 : | | Exported functions |
| md4 : | | Exported functions |
| md5 : | | Exported functions |
| Method, cmac : | | Exported generic functions |
| Method, code : | | Exported generic functions |
| Method, code : | | Exported generic functions |
| Method, code : | | Exported generic functions |
| Method, code : | | Exported generic functions |
| Method, code : | | Exported generic functions |
| Method, code : | | Exported generic functions |
| Method, code : | | Exported generic functions |
| Method, code : | | Exported generic functions |
| Method, code : | | Exported generic functions |
| Method, code : | | Exported generic functions |
| Method, code : | | Exported generic functions |
| Method, code : | | Exported generic functions |
| Method, code : | | Exported generic functions |
| Method, code : | | Exported generic functions |
| Method, decrypt : | | Exported generic functions |
| Method, encrypt : | | Exported generic functions |
| Method, from-base64 : | | Exported generic functions |
| Method, from-base64 : | | Exported generic functions |
| Method, from-hex : | | Exported generic functions |
| Method, get-cipher : | | Exported generic functions |
| Method, hmac : | | Exported generic functions |
| Method, make-salt : | | Exported generic functions |
| Method, make-salt : | | Exported generic functions |
| Method, make-salt : | | Exported generic functions |
| Method, make-salt : | | Exported generic functions |
| Method, normalize-key : | | Exported generic functions |
| Method, normalize-key : | | Exported generic functions |
| Method, normalize-key : | | Exported generic functions |
| Method, to : | | Exported generic functions |
| Method, to : | | Exported generic functions |
| Method, to : | | Exported generic functions |
| Method, to : | | Exported generic functions |
| Method, to : | | Exported generic functions |
| Method, to-base64 : | | Exported generic functions |
| Method, to-base64 : | | Exported generic functions |
| Method, to-base64 : | | Exported generic functions |
| Method, to-base64 : | | Exported generic functions |
| Method, to-hex : | | Exported generic functions |
| Method, to-hex : | | Exported generic functions |
| Method, to-hex : | | Exported generic functions |
| Method, to-octets : | | Exported generic functions |
| Method, to-octets : | | Exported generic functions |
| Method, to-octets : | | Exported generic functions |
| Method, to-string : | | Exported generic functions |
| Method, to-string : | | Exported generic functions |
|
N | | |
| normalize-key : | | Exported generic functions |
| normalize-key : | | Exported generic functions |
| normalize-key : | | Exported generic functions |
| normalize-key : | | Exported generic functions |
|
P | | |
| pbkdf2-hash : | | Exported functions |
| pbkdf2-key : | | Exported functions |
|
R | | |
| ripemd-128 : | | Exported functions |
| ripemd-160 : | | Exported functions |
|
S | | |
| setdocs : | | Internal macros |
| sha1 : | | Exported functions |
| sha224 : | | Exported functions |
| sha256 : | | Exported functions |
| sha3 : | | Internal functions |
| sha3/224 : | | Internal functions |
| sha3/256 : | | Internal functions |
| sha3/384 : | | Internal functions |
| sha384 : | | Exported functions |
| sha512 : | | Exported functions |
| shake128 : | | Internal functions |
| shake256 : | | Internal functions |
| simple-hash : | | Exported functions |
| skein1024 : | | Internal functions |
| skein1024/384 : | | Internal functions |
| skein1024/512 : | | Internal functions |
| skein256 : | | Internal functions |
| skein256/128 : | | Internal functions |
| skein256/160 : | | Internal functions |
| skein256/224 : | | Internal functions |
| skein512 : | | Internal functions |
| skein512/128 : | | Internal functions |
| skein512/160 : | | Internal functions |
| skein512/224 : | | Internal functions |
| skein512/256 : | | Internal functions |
| skein512/384 : | | Internal functions |
| sm3 : | | Internal functions |
| streebog : | | Internal functions |
| streebog/256 : | | Internal functions |
|
T | | |
| tiger : | | Exported functions |
| to : | | Exported generic functions |
| to : | | Exported generic functions |
| to : | | Exported generic functions |
| to : | | Exported generic functions |
| to : | | Exported generic functions |
| to : | | Exported generic functions |
| to-base64 : | | Exported generic functions |
| to-base64 : | | Exported generic functions |
| to-base64 : | | Exported generic functions |
| to-base64 : | | Exported generic functions |
| to-base64 : | | Exported generic functions |
| to-hex : | | Exported generic functions |
| to-hex : | | Exported generic functions |
| to-hex : | | Exported generic functions |
| to-hex : | | Exported generic functions |
| to-octets : | | Exported generic functions |
| to-octets : | | Exported generic functions |
| to-octets : | | Exported generic functions |
| to-octets : | | Exported generic functions |
| to-string : | | Exported generic functions |
| to-string : | | Exported generic functions |
| to-string : | | Exported generic functions |
| tree-hash : | | Exported functions |
|
W | | |
| whirlpool : | | Exported functions |
|
A.3 Variables
A.4 Data types