18 releases (5 stable)
2.0.0 | Feb 28, 2023 |
---|---|
1.2.0 | Feb 26, 2023 |
1.0.1 | Apr 1, 2021 |
1.0.0 | Mar 25, 2021 |
0.1.0 | Dec 23, 2016 |
#1372 in Magic Beans
29,695 downloads per month
Used in 61 crates
(32 directly)
295KB
20K
SLoC
bip39
A Rust implementation of BIP-39 mnemonic codes.
Word lists (languages)
We support all languages specified in the BIP-39 standard as of writing.
The English language is always loaded and other languages can be loaded using the corresponding feature.
Use the all-languages
feature to enable all languages.
- English (always enabled)
- Simplified Chinese (
chinese-simplified
) - Traditional Chinese (
chinese-traditional
) - Czech (
czech
) - French (
french
) - Italian (
italian
) - Japanese (
japanese
) - Korean (
korean
) - Spanish (
spanish
)
MSRV
This crate supports Rust v1.41.1 and up and works with no_std
.
If you enable the zeroize
feature the MSRV becomes 1.51.
lib.rs
:
BIP39 Mnemonic Codes
https://github.com/bitcoin/bips/blob/master/bip-0039.mediawiki
Test some Japanese language test vectors. For these test vectors, we seem to generate different mnemonic phrases than the test vectors expect us to. However, our generated seeds are correct and tiny-bip39, an alternative implementation of bip39 also does not fulfill the test vectors.
Dependencies
~185–630KB
~19K SLoC