- Add GETTING_STARTED.md with quick start guide and development modes - Add INSTALL.sh automated installation script - Add INSTALLATION_CHECKLIST.md, INSTALLATION_SUCCESS.md, and INSTALLATION_SUMMARY.md - Add QUICK_REFERENCE.md for common commands - Add SETUP_GUIDE.md with detailed setup instructions - Update README.md with improved project overview - Add did-wallet app dependencies and node_modules
28 lines
991 B
TypeScript
28 lines
991 B
TypeScript
import { Hash, Input } from './utils.js';
|
|
export declare const SIGMA: Uint8Array;
|
|
export type BlakeOpts = {
|
|
dkLen?: number;
|
|
key?: Input;
|
|
salt?: Input;
|
|
personalization?: Input;
|
|
};
|
|
export declare abstract class BLAKE2<T extends BLAKE2<T>> extends Hash<T> {
|
|
readonly blockLen: number;
|
|
outputLen: number;
|
|
protected abstract compress(msg: Uint32Array, offset: number, isLast: boolean): void;
|
|
protected abstract get(): number[];
|
|
protected abstract set(...args: number[]): void;
|
|
abstract destroy(): void;
|
|
protected buffer: Uint8Array;
|
|
protected buffer32: Uint32Array;
|
|
protected length: number;
|
|
protected pos: number;
|
|
protected finished: boolean;
|
|
protected destroyed: boolean;
|
|
constructor(blockLen: number, outputLen: number, opts: BlakeOpts | undefined, keyLen: number, saltLen: number, persLen: number);
|
|
update(data: Input): this;
|
|
digestInto(out: Uint8Array): void;
|
|
digest(): Uint8Array;
|
|
_cloneInto(to?: T): T;
|
|
}
|