(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
(binary->byte-binary binary)
Turn a binary array into a byte array
Turn a binary array into a byte array
(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
(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
(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.
(byte-array->digest binary-array)
Compute the digest of a byte array
Compute the digest of a byte array
(byte-binary->byte-array byte-binary)
Turn a binary array into a byte array
Turn a binary array into a byte array
(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
(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.
(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
(entropy-string->entropy-byte-array entropy-string)
Turn an entropy string into entropy byte array
Turn an entropy string into entropy byte array
(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
(random-entropy size)
Return a random array of bytes of size
bits
Return a random array of bytes of `size` bits
(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``
(seed-phrase->entropy seed-phrase language)
Turn a seed phrase into an intropy byte array
Turn a seed phrase into an intropy byte array
(size->suffix-length size)
Return the suffix length from the size
Return the suffix length from the size
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close