- Source:
Methods
(static) expand_sha2_256(prk, info, len) → {buffer}
Parameters:
Name | Type | Description |
---|---|---|
prk |
buffer | size prk_len |
info |
buffer | size infolen |
len |
uint32 |
- Source:
Returns:
okm - size len
- Type
- buffer
(static) extract_sha2_256(salt, ikm) → {buffer}
Parameters:
Name | Type | Description |
---|---|---|
salt |
buffer | size salt_len |
ikm |
buffer | size ikm_len |
- Source:
Returns:
prk - size 32
- Type
- buffer