(decode-hash conf o)
takes an hash and decodes it with hashids
takes an hash and decodes it with hashids
(encode-hash conf o)
takes an intseq and encodes it with hashids
takes an intseq and encodes it with hashids
(int2unsigned i)
takes a collection of integers and converts it to unsigned notation, saves the first element which is just the length of the original size before compression
takes a collection of integers and converts it to unsigned notation, saves the first element which is just the length of the original size before compression
(intseq2str s)
takes a sequence of integer ascii codes and returns a string
takes a sequence of integer ascii codes and returns a string
(secrets2seq conf s)
Takes clear shares and returns a sequence
Takes clear shares and returns a sequence
(secrets2slices conf secrets)
Traverse secrets horizontally to harvest settings:total slices and returns a collection of integers.
Traverse secrets horizontally to harvest settings:total slices and returns a collection of integers.
(seq2secrets conf s)
Takes a sequence and computes secrets.
Takes a sequence and computes secrets.
(seq2str s)
Takes a collection of big unsigned integers and returns a string.
Takes a collection of big unsigned integers and returns a string.
(slice2seq slice)
Gets a sliced strings, decodes and orders them according to position, then returns a sequence of integers
Gets a sliced strings, decodes and orders them according to position, then returns a sequence of integers
(slices2secrets conf slices)
Takes horizontal slices (decoded) and returns vertically aggregated secrets ready for processing by shamir-combine.
Takes horizontal slices (decoded) and returns vertically aggregated secrets ready for processing by shamir-combine.
(str2intseq s)
takes a string and returns a sequence of integer ascii codes
takes a string and returns a sequence of integer ascii codes
(str2seq s)
Takes a string and returns a unique collection of big unsigned integers. First integer is the length of the original string.
Takes a string and returns a unique collection of big unsigned integers. First integer is the length of the original string.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close