(digest digest-fn obj)
Given a digest function and an arbitrary Clojure object, return a byte array representing the digest of the object.
The digest function must take an InputStream as its argument, and return a byte array.
Given a digest function and an arbitrary Clojure object, return a byte array representing the digest of the object. The digest function must take an InputStream as its argument, and return a byte array.
(hex-str ba)
Return the hexadecimal string representation of a byte array
Return the hexadecimal string representation of a byte array
(md5 obj)
Return the MD5 digest of an arbitrary Clojure data structure
Return the MD5 digest of an arbitrary Clojure data structure
(md5-str obj)
Return the MD5 digest of an arbitrary Clojure data structure, as a string
Return the MD5 digest of an arbitrary Clojure data structure, as a string
(messagedigest-fn algorithm)
Return a digest function using java.security.MessageDigest, using the specified algorithm
Return a digest function using java.security.MessageDigest, using the specified algorithm
(sha-1 obj)
Return the SHA-1 digest of an arbitrary Clojure data structure
Return the SHA-1 digest of an arbitrary Clojure data structure
(sha-1-str obj)
Return the SHA-1 digest of an arbitrary Clojure data structure, as a string
Return the SHA-1 digest of an arbitrary Clojure data structure, as a string
(sha-256 obj)
Return the SHA-256 digest of an arbitrary Clojure data structure
Return the SHA-256 digest of an arbitrary Clojure data structure
(sha-256-str obj)
Return the sha256 digest of an arbitrary Clojure data structure, as a string
Return the sha256 digest of an arbitrary Clojure data structure, as a string
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close