Hash Functions

Index

hash/clear hash/copy hash/final hash/name hash/new hash/output-length hash/update

Reference

hash/clearcfunction
(hash/clear hash-obj)

Reset the state of `hash` back to clean, as if no input has been supplied. Returns `hash-obj`.

hash/copycfunction
(hash/copy hash-obj)

Return a new hash object copied from `hash`. Returns new `hash-obj`.

hash/finalcfunction
(hash/final hash-obj)

Finalize the hash and return the output.

hash/namecfunction
(hash/name hash)

Return the name of the hash function.

hash/newcfunction
(hash/new name)

Creates a hash of the given name, e.g., "SHA-384". Returns `hash-obj`.

(hash/output-length hash-obj)

Return the output length of the `hash-obj`.

hash/updatecfunction
(hash/update hash-boj input)

Add input to the hash computation. Returns `hash-obj`.