Preparing search index...
The search index is not available
@libp2p/crypto - v1.0.17
@libp2p/crypto - v1.0.17
keys
<internal>
ECDHKey
Interface ECDHKey
Hierarchy
ECDHKey
Index
Properties
gen
Shared
Key
key
Properties
gen
Shared
Key
gen
Shared
Key
:
(
(
theirPub
:
Uint8Array
, forcePrivate
?:
ECDHKeyPair
)
=>
Promise
<
Uint8Array
>
)
Type declaration
(
theirPub
:
Uint8Array
, forcePrivate
?:
ECDHKeyPair
)
:
Promise
<
Uint8Array
>
Parameters
theirPub:
Uint8Array
Optional
forcePrivate:
ECDHKeyPair
Returns
Promise
<
Uint8Array
>
key
key
:
Uint8Array
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
Modules
@libp2p/crypto -
v1.0.17
aes
hmac
index
keys
<internal>
"/home/runner/work/js-
libp2p-
crypto/js-
libp2p-
crypto/src/keys/ed25519-
class"
"/home/runner/work/js-
libp2p-
crypto/js-
libp2p-
crypto/src/keys/rsa-
class"
"/home/runner/work/js-
libp2p-
crypto/js-
libp2p-
crypto/src/keys/secp256k1-
class"
keysPBM
Key
Type
Private
Key
Public
Key
ECDHKey
gen
Shared
Key
key