mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-22 11:57:33 +08:00
Merge pull request #10648 from plantain-00/getCiphers-getCurves
add 3 missing methods in crypto module: getCiphers, getCurves and get…
This commit is contained in:
3
node/node.d.ts
vendored
3
node/node.d.ts
vendored
@@ -2167,6 +2167,9 @@ declare module "crypto" {
|
||||
}
|
||||
export function publicEncrypt(public_key: string | RsaPublicKey, buffer: Buffer): Buffer
|
||||
export function privateDecrypt(private_key: string | RsaPrivateKey, buffer: Buffer): Buffer
|
||||
export function getCiphers(): string[];
|
||||
export function getCurves(): string[];
|
||||
export function getHashes(): string[];
|
||||
}
|
||||
|
||||
declare module "stream" {
|
||||
|
||||
Reference in New Issue
Block a user