mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-05 07:17:04 +00:00
add 3 missing methods in crypto module: getCiphers, getCurves and getHashes
This commit is contained in:
Vendored
+3
@@ -2166,6 +2166,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