diff --git a/types/node/v10/ts3.1/crypto.d.ts b/types/node/v10/ts3.1/crypto.d.ts index 0710032678..7cf191c325 100644 --- a/types/node/v10/ts3.1/crypto.d.ts +++ b/types/node/v10/ts3.1/crypto.d.ts @@ -228,6 +228,7 @@ declare module "crypto" { function publicDecrypt(public_key: string | RsaPublicKey, buffer: Buffer | NodeJS.TypedArray | DataView): Buffer; function getCiphers(): string[]; function getCurves(): string[]; + function getFips(): 1 | 0; function getHashes(): string[]; class ECDH { static convertKey( diff --git a/types/node/v11/ts3.1/crypto.d.ts b/types/node/v11/ts3.1/crypto.d.ts index 43fc2b8254..d9ae86fe2a 100644 --- a/types/node/v11/ts3.1/crypto.d.ts +++ b/types/node/v11/ts3.1/crypto.d.ts @@ -379,6 +379,7 @@ declare module "crypto" { function publicDecrypt(public_key: RsaPublicKey | KeyLike, buffer: Binary): Buffer; function getCiphers(): string[]; function getCurves(): string[]; + function getFips(): 1 | 0; function getHashes(): string[]; class ECDH { private constructor(); diff --git a/types/node/v12/ts3.1/crypto.d.ts b/types/node/v12/ts3.1/crypto.d.ts index 52ccf372cf..1bd60a3b50 100644 --- a/types/node/v12/ts3.1/crypto.d.ts +++ b/types/node/v12/ts3.1/crypto.d.ts @@ -402,6 +402,7 @@ declare module "crypto" { function privateEncrypt(private_key: RsaPrivateKey | KeyLike, buffer: NodeJS.ArrayBufferView): Buffer; function getCiphers(): string[]; function getCurves(): string[]; + function getFips(): 1 | 0; function getHashes(): string[]; class ECDH { private constructor(); diff --git a/types/node/v13/ts3.1/crypto.d.ts b/types/node/v13/ts3.1/crypto.d.ts index ca7b006565..498f82bb0b 100644 --- a/types/node/v13/ts3.1/crypto.d.ts +++ b/types/node/v13/ts3.1/crypto.d.ts @@ -403,6 +403,7 @@ declare module "crypto" { function privateEncrypt(private_key: RsaPrivateKey | KeyLike, buffer: NodeJS.ArrayBufferView): Buffer; function getCiphers(): string[]; function getCurves(): string[]; + function getFips(): 1 | 0; function getHashes(): string[]; class ECDH { private constructor();