Liking cljdoc? Tell your friends :D

fxc.secretshare


get-primeclj

(get-prime sym)
source

map-sharesclj

(map-shares shares)

Takes a raw array of shares (big integers) and returns a bidimensional array with numbered keys for positions

Takes a raw array of shares (big integers) and returns a
bidimensional array with numbered keys for positions
sourceraw docstring

prime192clj

(prime192)
source

prime384clj

(prime384)
source

prime4096clj

(prime4096)
source

shamir-combineclj

(shamir-combine conf shares)

Takes a secret (header and collection of integers) and returns the unlocked big integer. The collection must be ordered and have a nil in place for each missing share.

Takes a secret (header and collection of integers) and returns the
unlocked big integer. The collection must be ordered and have a nil
in place for each missing share.
sourceraw docstring

shamir-get-headerclj

(shamir-get-header share)

Takes Tiemen's share and extracts a header

Takes Tiemen's share and extracts a header
sourceraw docstring

shamir-get-sharesclj

(shamir-get-shares si)

Takes Tiemen's share and extract a collection of shares

Takes Tiemen's share and extract a collection of shares
sourceraw docstring

shamir-loadclj

(shamir-load conf shares pos new)

Loads a new share into the Shamir's engine, internal use in combine

Loads a new share into the Shamir's engine, internal use in combine
sourceraw docstring

shamir-set-headerclj

(shamir-set-header head)

Takes an header and sets it into Tiemen's structure

Takes an header and sets it into Tiemen's structure
sourceraw docstring

shamir-splitclj

(shamir-split conf secnum)

split an integer into shares according to conf return a structure { :header { :quorum :total :prime :description} :shares [ [ pos share ] [ pos share] ... ]

split an integer into shares according to conf
return a structure { :header { :quorum :total :prime :description}
                     :shares [ [ pos share ] [ pos share] ... ]
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close