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