Liking cljdoc? Tell your friends :D
Clojure only.

cleanx.scan.entropy

Shannon entropy over a byte/char sequence. Used as a false-positive gate.

Shannon entropy over a byte/char sequence. Used as a false-positive gate.
raw docstring

above?clj

(above? s threshold)

True iff entropy of s is at least threshold. nil threshold → always true.

True iff entropy of s is at least threshold. nil threshold → always true.
sourceraw docstring

shannonclj

(shannon s)

Shannon entropy of string s, base 2. Returns a double. Empty string → 0.0.

Shannon entropy of string s, base 2. Returns a double.
Empty string → 0.0.
sourceraw docstring

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
Move to previous article
Move to next article
Ctrl+/Jump to the search field
× close