Preparing search index...
The search index is not available
StableLib
StableLib
@stablelib/x25519-session
serverSessionKeysFromSharedKey
Function serverSessionKeysFromSharedKey
server
Session
Keys
From
Shared
Key
(
sharedKey
,
myPublicKey
,
theirPublicKey
,
hash
?
)
:
SessionKeys
Generates server-side session encryption keys from the shared key obtained during agreement phase.
Parameters
sharedKey
:
Uint8Array
myPublicKey
:
Uint8Array
theirPublicKey
:
Uint8Array
hash
:
(
new
(
)
=>
Hash
)
= BLAKE2b
new
(
)
:
Hash
Returns
Hash
Returns
SessionKeys
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
StableLib
Loading...
Generates server-side session encryption keys from the shared key obtained during agreement phase.