hkdf
On-chain HKDF-SHA256 key derivation
Overview
Signature
def hkdf(
w3: Web3,
ikm: bytes,
) -> Bytes32
async def async_hkdf(
w3: AsyncWeb3,
ikm: bytes,
) -> Bytes32Parameters
Parameter
Type
Required
Description
Returns
Type
Description
Examples
Basic Usage
Derive from Password
Async Usage
Derive Multiple Keys
Use as AES Key
Derive from ECDH Output
Deterministic Key Derivation
Variable-Length Input
Key Separation by Context
How It Works
Gas Cost
Notes
Use Cases
Warnings
See Also
Last updated

