UNPKG

482 BTypeScriptView Raw
1// Type definitions for cipher-base 1.0
2// Project: https://github.com/crypto-browserify/cipher-base
3// Definitions by: DefinitelyTyped <https://github.com/DefinitelyTyped>
4// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
5
6/// <reference types="node" />
7
8declare abstract class CipherBase {
9 constructor(hashMode?: string);
10 abstract final(): Buffer;
11 abstract update(value: Buffer, inputEnc?: string, outputEnc?: string): Buffer;
12}
13
14export = CipherBase;