pub fn derive_key(root_key: &[u8; 32], info: &str) -> CryptoResult<[u8; 32]>Expand description
Derives a 32-byte key from the root key using HKDF-SHA256.
§Arguments
root_key- The root key materialinfo- Context string (e.g., “encryption”, “signing”)