(import ../hashids :as h) (assert (= "abc" (h/consistent-shuffle "abc" ""))) (def salt "this is my salt") (assert (= "ba" (h/consistent-shuffle "ab" salt))) (assert (= "bca" (h/consistent-shuffle "abc" salt))) (assert (= "cadb" (h/consistent-shuffle "abcd" salt)))