@substrate-system/webcrypto-x3dh
Preparing search index...
symmetric
deriveKeys
Function deriveKeys
deriveKeys
(
key
:
CryptographyKey
,
nonce
:
Uint8Array
<
ArrayBuffer
>
,
)
:
Promise
<
{
commitment
:
Uint8Array
<
ArrayBuffer
>
;
encKeyBytes
:
Uint8Array
<
ArrayBuffer
>
;
}
,
>
Derive an encryption key and a commitment hash using HKDF.
Parameters
key
:
CryptographyKey
nonce
:
Uint8Array
<
ArrayBuffer
>
Returns
Promise
<
{
commitment
:
Uint8Array
<
ArrayBuffer
>
;
encKeyBytes
:
Uint8Array
<
ArrayBuffer
>
;
}
,
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
@substrate-system/webcrypto-x3dh
Loading...
Derive an encryption key and a commitment hash using HKDF.