Function derive_keys

Source
pub fn derive_keys(
    master_key: &str,
    derivation_path: &str,
) -> HashMap<u64, SecretKey>
Expand description

Derives a set of secret keys from a master key using a given derivation path.

§Arguments

  • master_key - A string slice that holds the master key.
  • derivation_path - A string slice that holds the derivation path.

§Returns

A HashMap containing the derived secret keys, where the key is a u64 value and the value is a SecretKey.