mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-08-16 23:10:29 +00:00
Correct comment in node/crypto definition (#40587)
* Added missing type * Updated package header * Replaced tabs with spaces * Correcting a comment Correcting a comment to refer to the correct function
This commit is contained in:
committed by
Andrew Casey
parent
8b1a462323
commit
d6204d55a4
Vendored
+3
-3
@@ -220,11 +220,11 @@ declare module "crypto" {
|
||||
setAAD(buffer: Buffer, options?: { plaintextLength: number }): this;
|
||||
getAuthTag(): Buffer;
|
||||
}
|
||||
/** @deprecated since v10.0.0 use createCipheriv() */
|
||||
/** @deprecated since v10.0.0 use createDecipheriv() */
|
||||
function createDecipher(algorithm: CipherCCMTypes, password: BinaryLike, options: CipherCCMOptions): DecipherCCM;
|
||||
/** @deprecated since v10.0.0 use createCipheriv() */
|
||||
/** @deprecated since v10.0.0 use createDecipheriv() */
|
||||
function createDecipher(algorithm: CipherGCMTypes, password: BinaryLike, options?: CipherGCMOptions): DecipherGCM;
|
||||
/** @deprecated since v10.0.0 use createCipheriv() */
|
||||
/** @deprecated since v10.0.0 use createDecipheriv() */
|
||||
function createDecipher(algorithm: string, password: BinaryLike, options?: stream.TransformOptions): Decipher;
|
||||
|
||||
function createDecipheriv(
|
||||
|
||||
Vendored
+3
-3
@@ -88,11 +88,11 @@ declare module "crypto" {
|
||||
setAAD(buffer: Buffer, options?: { plaintextLength: number }): this;
|
||||
getAuthTag(): Buffer;
|
||||
}
|
||||
/** @deprecated since v10.0.0 use createCipheriv() */
|
||||
/** @deprecated since v10.0.0 use createDecipheriv() */
|
||||
function createDecipher(algorithm: CipherCCMTypes, password: string | Buffer | NodeJS.TypedArray | DataView, options: CipherCCMOptions): DecipherCCM;
|
||||
/** @deprecated since v10.0.0 use createCipheriv() */
|
||||
/** @deprecated since v10.0.0 use createDecipheriv() */
|
||||
function createDecipher(algorithm: CipherGCMTypes, password: string | Buffer | NodeJS.TypedArray | DataView, options?: CipherGCMOptions): DecipherGCM;
|
||||
/** @deprecated since v10.0.0 use createCipheriv() */
|
||||
/** @deprecated since v10.0.0 use createDecipheriv() */
|
||||
function createDecipher(algorithm: string, password: string | Buffer | NodeJS.TypedArray | DataView, options?: stream.TransformOptions): Decipher;
|
||||
|
||||
function createDecipheriv(
|
||||
|
||||
Vendored
+3
-3
@@ -208,11 +208,11 @@ declare module "crypto" {
|
||||
setAAD(buffer: Buffer, options?: { plaintextLength: number }): this;
|
||||
getAuthTag(): Buffer;
|
||||
}
|
||||
/** @deprecated since v10.0.0 use createCipheriv() */
|
||||
/** @deprecated since v10.0.0 use createDecipheriv() */
|
||||
function createDecipher(algorithm: CipherCCMTypes, password: BinaryLike, options: CipherCCMOptions): DecipherCCM;
|
||||
/** @deprecated since v10.0.0 use createCipheriv() */
|
||||
/** @deprecated since v10.0.0 use createDecipheriv() */
|
||||
function createDecipher(algorithm: CipherGCMTypes, password: BinaryLike, options?: CipherGCMOptions): DecipherGCM;
|
||||
/** @deprecated since v10.0.0 use createCipheriv() */
|
||||
/** @deprecated since v10.0.0 use createDecipheriv() */
|
||||
function createDecipher(algorithm: string, password: BinaryLike, options?: stream.TransformOptions): Decipher;
|
||||
|
||||
function createDecipheriv(
|
||||
|
||||
Reference in New Issue
Block a user