libp2p
Preparing search index...
@libp2p/crypto
keys
ECDHKey
Interface ECDHKey
interface
ECDHKey
{
key
:
Uint8Array
;
genSharedKey
(
theirPub
:
Uint8Array
,
forcePrivate
?:
ECDHKeyPair
,
)
:
Promise
<
Uint8Array
<
ArrayBufferLike
>
>
;
}
Index
Properties
key
Methods
gen
Shared
Key
Properties
key
key
:
Uint8Array
Methods
gen
Shared
Key
genSharedKey
(
theirPub
:
Uint8Array
,
forcePrivate
?:
ECDHKeyPair
,
)
:
Promise
<
Uint8Array
<
ArrayBufferLike
>
>
Parameters
theirPub
:
Uint8Array
Optional
forcePrivate
:
ECDHKeyPair
Returns
Promise
<
Uint8Array
<
ArrayBufferLike
>
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Properties
key
Methods
gen
Shared
Key
libp2p
Loading...