Liking cljdoc? Tell your friends :D

bips.utils


binary+checksun->seed-phrase-binaryclj

(binary+checksun->seed-phrase-binary binary checksum suffix-length)

Turn a random binary data and its checksum into seed phrase in binary form

Turn a random binary data and its checksum into seed phrase in binary form
raw docstring

binary->byte-binaryclj

(binary->byte-binary binary)

Turn a binary array into a byte array

Turn a binary array into a byte array
raw docstring

binary-array->byte-arrayclj

(binary-array->byte-array binary-array size)

Turn a binary array of 0 and 1 into a byte array

Turn a binary array of 0 and 1 into a byte array
raw docstring

binary-with-digest->seed-phraseclj

(binary-with-digest->seed-phrase binary-with-digest language)

Turn a seed phrase and its digest in binary form into seed phrase

Turn a seed phrase and its digest in binary form into seed phrase
raw docstring

bip39-dictionaryclj

(bip39-dictionary language)

Return the BIP-39 dictionary for the provided language. If the language is not available, an exception is thrown.

Return the BIP-39 dictionary for the provided `language`.
If the language is not available, an exception is thrown.
raw docstring

byte-array->digestclj

(byte-array->digest binary-array)

Compute the digest of a byte array

Compute the digest of a byte array
raw docstring

byte-binary->byte-arrayclj

(byte-binary->byte-array byte-binary)

Turn a binary array into a byte array

Turn a binary array into a byte array
raw docstring

checksumclj

(checksum size digest)

Compute the checksum of a seed phrase from the size and the digest

Compute the checksum of a seed phrase from the size and the digest
raw docstring

detect-languageclj

(detect-language mnemonic)

Detect the language of a mnemonic. If no language is detected or if there is any ambiguity, an exception is thrown.

Detect the language of a mnemonic.
If no language is detected or if there is any ambiguity, an exception is thrown.
raw docstring

entropy->binaryclj

(entropy->binary entropy)

Turn an entropy byte array into a binary array of 0 and 1

Turn an entropy byte array into a binary array of 0 and 1
raw docstring

entropy-string->entropy-byte-arrayclj

(entropy-string->entropy-byte-array entropy-string)

Turn an entropy string into entropy byte array

Turn an entropy string into entropy byte array
raw docstring

index-ofclj

(index-of word language)

Return the index of word in the BIP-39 English dictionary

Return the index of word in the BIP-39 English dictionary
raw docstring

languagesclj


random-entropyclj

(random-entropy size)

Return a random array of bytes of size bits

Return a random array of bytes of `size` bits
raw docstring

seed-phrase->binary-arrayclj

(seed-phrase->binary-array seed-phrase language)

Turn a seed phrase into a binary array of 0 and 1

Turn a seed phrase into a binary array of ``0`` and ``1``
raw docstring

seed-phrase->entropyclj

(seed-phrase->entropy seed-phrase language)

Turn a seed phrase into an intropy byte array

Turn a seed phrase into an intropy byte array
raw docstring

size->suffix-lengthclj

(size->suffix-length size)

Return the suffix length from the size

Return the suffix length from the size
raw docstring

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

× close