@armada/sdk / index / deriveStorageKey
Function: deriveStorageKey()
deriveStorageKey(
rootSecret):Uint8Array
Defined in: src/storage/encrypted.ts:22
Derive the 32-byte at-rest storage key from the wallet's rootSecret via HKDF-SHA-256, domain-separated so it never collides with other subkey derivations.
Parameters
rootSecret
Uint8Array
Returns
Uint8Array