@bicycle-codes/crypto-util
Preparing search index...
ecc
getSharedKey
Function getSharedKey
getSharedKey
(
privateKey
:
CryptoKey
,
publicKey
:
CryptoKey
,
opts
?:
Partial
<
{
alg
:
"AES-CTR"
|
"AES-CBC"
|
"AES-GCM"
;
iv
:
ArrayBuffer
;
length
:
SymmKeyLength
;
}
,
>
,
)
:
Promise
<
CryptoKey
>
Parameters
privateKey
:
CryptoKey
publicKey
:
CryptoKey
Optional
opts
:
Partial
<
{
alg
:
"AES-CTR"
|
"AES-CBC"
|
"AES-GCM"
;
iv
:
ArrayBuffer
;
length
:
SymmKeyLength
;
}
,
>
Returns
Promise
<
CryptoKey
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
@bicycle-codes/crypto-util
Loading...