mirror of
https://github.com/JonasunderscoreJones/aka-worker.git
synced 2025-10-23 18:09:19 +02:00
15 lines
529 B
TypeScript
15 lines
529 B
TypeScript
/// <reference types="node" />
|
|
import { INativeReader } from './native';
|
|
import { NodeHash } from '../node/hash-instance';
|
|
/**
|
|
* A Node.js crypto-like createHash method.
|
|
*/
|
|
export declare const createHash: () => NodeHash<INativeReader>;
|
|
/**
|
|
* Construct a new Hasher for the keyed hash function.
|
|
*/
|
|
export declare const createKeyed: (key: Buffer) => NodeHash<INativeReader>;
|
|
/**
|
|
* Construct a new Hasher for the key derivation function.
|
|
*/
|
|
export declare const createDeriveKey: (context: string) => NodeHash<INativeReader>;
|