Skip to content

Latest commit

 

History

History
 
 

hkd32

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 

HMAC-based Hierarchical Key Derivation iqlusion

Crate Docs Apache 2.0 Licensed MSRV Build Status

hkd32 is a Rust library which implements a hierarchical deterministic symmetric key derivation construction inspired by BIP-0032: Hierarchical Deterministic Wallets.

It can be used to deterministically derive a hierarchy of symmetric keys from initial keying material (or when the mnemonic feature is enabled, through a 24-word BIP39 passphrase) by repeatedly applying the Hash-based Message Authentication Code (HMAC).

This construction is specialized for deriving 32-byte (256-bit) keys from an initial 32-bytes of input key material.

Documentation

Minimum Supported Rust Version

  • Rust 1.60

License

Copyright © 2019-2023 iqlusion

Includes code from the bip39 crate. Copyright © 2017-2018 Stephen Oliver, with contributions by Maciej Hirsz.

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

See LICENSE (Apache License, Version 2.0) file in the iqlusioninc/crates toplevel directory of this repository or LICENSE-MIT for 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.