Functions to create message digests.
Functions to create message digests.
(digest md)
(digest md val)
Returns the digest of the message digest.
Returns the digest of the message digest.
Converts the input to a byte array.
Converts the input to a byte array.
(get-digest algo-key val)
Returns the digest of the val calculated by the given algorithm.
Returns the digest of the val calculated by the given algorithm.
(md5-digest val)
Calculates a message digest with the MD5 algorithm. The argument can be a file, a string or a byte array.
Calculates a message digest with the MD5 algorithm. The argument can be a file, a string or a byte array.
(message-digest algorithm)
Returns a message digest instance configured with the given algorithm.
Returns a message digest instance configured with the given algorithm.
(sha-1-digest val)
Calculates a message digest with the SHA-1 algorithm. The argument can be a path, a file, a string or a byte array.
Calculates a message digest with the SHA-1 algorithm. The argument can be a path, a file, a string or a byte array.
(sha-256-digest val)
Calculates a message digest with the SHA-256 algorithm. The argument can be a path, a file, a string or a byte array.
Calculates a message digest with the SHA-256 algorithm. The argument can be a path, a file, a string or a byte array.
(sha-384-digest val)
Calculates a message digest with the SHA-384 algorithm. The argument can be a path, a file, a string or a byte array.
Calculates a message digest with the SHA-384 algorithm. The argument can be a path, a file, a string or a byte array.
(sha-512-digest val)
Calculates a message digest with the SHA-512 algorithm. The argument can be a path, a file, a string or a byte array.
Calculates a message digest with the SHA-512 algorithm. The argument can be a path, a file, a string or a byte array.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close