DefinitelyTyped/types/cipher-base/index.d.ts
2019-03-06 21:56:07 +11:00

15 lines
476 B
TypeScript

// Type definitions for cipher-base 1.0
// Project: https://github.com/crypto-browserify/cipher-base
// Definitions by: Adam Zerella <https://github.com/adamzerella>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
/// <reference types="node" />
declare abstract class CipherBase {
constructor(hashMode?: string);
abstract final(): Buffer;
abstract update(value: Buffer, inputEnc?: string, outputEnc?: string): Buffer;
}
export = CipherBase;