#crypto #bip32 #bip39 #derivation #mnemonic

no-std bip32

BIP32 hierarchical key derivation implemented in a generic, no_std-friendly manner. Supports deriving keys using the pure Rust k256 crate or the C library-backed secp256k1 crate

8 releases (4 breaking)

Uses new Rust 2021

0.4.0 May 11, 2022
0.3.0 Jan 6, 2022
0.2.2 Sep 7, 2021
0.2.1 Jun 24, 2021
0.0.0 Dec 28, 2018

#763 in Cryptography

Download history 4222/week @ 2022-01-27 2711/week @ 2022-02-03 2899/week @ 2022-02-10 2213/week @ 2022-02-17 2584/week @ 2022-02-24 3024/week @ 2022-03-03 2384/week @ 2022-03-10 2836/week @ 2022-03-17 2339/week @ 2022-03-24 2321/week @ 2022-03-31 2703/week @ 2022-04-07 2127/week @ 2022-04-14 2771/week @ 2022-04-21 2990/week @ 2022-04-28 4037/week @ 2022-05-05 4012/week @ 2022-05-12

14,259 downloads per month
Used in 7 crates (6 directly)

Apache-2.0 OR MIT

67KB
1.5K SLoC

BIP32: HD Wallets

Crate Docs Apache 2.0 Licensed MSRV Safety Dance Build Status

BIP32 hierarchical key derivation implemented in a generic, no_std-friendly manner. Supports deriving keys using the pure Rust k256 crate or the C library-backed secp256k1 crate.

Diagram

Documentation

About

BIP32 is an algorithm for generating a hierarchy of elliptic curve keys, a.k.a. "wallets", from a single seed value. A related algorithm also implemented by this crate, BIP39, provides a way to derive the seed value from a set of 24-words from a preset list, a.k.a. a "mnemonic".

Minimum Supported Rust Version

Rust 1.57 or newer.

In the future, we reserve the right to change MSRV (i.e. MSRV is out-of-scope for this crate's SemVer guarantees), however when we do it will be accompanied by a minor version bump.

License

Copyright © 2020-2022 iqlusion

bip32.rs is distributed under the terms of either the MIT license or the Apache License (Version 2.0), at your option.

See LICENSE-APACHE (Apache License, Version 2.0) and LICENSE-MIT for further details.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you shall be dual licensed as above, without any additional terms or conditions.

Dependencies

~5.5MB
~60K SLoC