Search
Preparing search index...
The search index is not available
DefinitelyTyped
Inherited
Private
Externals
Only exported
crypto
DiffieHellman
Interface DiffieHellman
Index
Methods
computeSecret
generateKeys
getGenerator
getPrime
getPrivateKey
getPublicKey
setPrivateKey
setPublicKey
Methods
public
computeSecret
(
other_public_key
:
string
, input_encoding
?:
string
, output_encoding
?:
string
)
:
string
Parameters
other_public_key:
string
input_encoding?:
string
optional
output_encoding?:
string
optional
Returns
string
public
generateKeys
(
encoding
?:
string
)
:
string
Parameters
encoding?:
string
optional
Returns
string
public
getGenerator
(
encoding
:
string
)
:
string
Parameters
encoding:
string
Returns
string
public
getPrime
(
encoding
?:
string
)
:
string
Parameters
encoding?:
string
optional
Returns
string
public
getPrivateKey
(
encoding
?:
string
)
:
string
Parameters
encoding?:
string
optional
Returns
string
public
getPublicKey
(
encoding
?:
string
)
:
string
Parameters
encoding?:
string
optional
Returns
string
public
setPrivateKey
(
public_key
:
string
, encoding
?:
string
)
Parameters
public_key:
string
encoding?:
string
optional
public
setPublicKey
(
public_key
:
string
, encoding
?:
string
)
Parameters
public_key:
string
encoding?:
string
optional
Globals
Express
NodeJS
assert
buffer
child_process
cluster
crypto
dgram
dns
domain
events
express
fs
http
https
net
os
path
punycode
querystring
readline
repl
stream
string_decoder
tls
tty
url
util
vm
zlib
Cipher
CredentialDetails
Credentials
Decipher
DiffieHellman
computeSecret
generateKeys
getGenerator
getPrime
getPrivateKey
getPublicKey
setPrivateKey
setPublicKey
Hash
Hmac
Signer
Verify
createCipher
createCipheriv
createCredentials
createDiffieHellman
createHash
createHmac
createSign
createVerify
getDiffieHellman
pbkdf2
pbkdf2Sync
pseudoRandomBytes
randomBytes