mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-07 00:07:07 +00: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:
Vendored
+3
@@ -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