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
sourceraw docstring

binary->byte-binaryclj

(binary->byte-binary binary)

Turn a binary array into a byte array

Turn a binary array into a byte array
sourceraw 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
sourceraw 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
sourceraw 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.
sourceraw docstring

byte-array->digestclj

(byte-array->digest binary-array)

Compute the digest of a byte array

Compute the digest of a byte array
sourceraw 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
sourceraw 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
sourceraw 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.
sourceraw 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
sourceraw 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
sourceraw 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
sourceraw docstring

languagesclj

source

random-entropyclj

(random-entropy size)

Return a random array of bytes of size bits

Return a random array of bytes of `size` bits
sourceraw 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``
sourceraw 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
sourceraw docstring

size->suffix-lengthclj

(size->suffix-length size)

Return the suffix length from the size

Return the suffix length from the size
sourceraw docstring

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

× close