mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
15 lines
476 B
TypeScript
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;
|