mirror of
https://github.com/JonasunderscoreJones/aka-worker.git
synced 2025-10-23 18:09:19 +02:00
Initial commit (by create-cloudflare CLI)
This commit is contained in:
parent
8cb86120f1
commit
fff961078a
1777 changed files with 1011798 additions and 0 deletions
31
cool-dawn-3d3b/node_modules/blake3-wasm/dist/browser/hash-instance.d.ts
generated
vendored
Normal file
31
cool-dawn-3d3b/node_modules/blake3-wasm/dist/browser/hash-instance.d.ts
generated
vendored
Normal file
|
@ -0,0 +1,31 @@
|
|||
import { BaseHash as BaseHasher } from '../base/index';
|
||||
import { HashInput } from './hash-fn';
|
||||
import { BrowserEncoding } from './encoding';
|
||||
import { IBaseHashOptions } from '../base/hash-fn';
|
||||
import { BrowserHashReader } from './hash-reader';
|
||||
import { IInternalReader } from '../base/hash-reader';
|
||||
import { Hash } from './hash';
|
||||
/**
|
||||
* @inheritdoc
|
||||
*/
|
||||
export declare class BrowserHasher extends BaseHasher<Hash, IInternalReader, BrowserHashReader> {
|
||||
/**
|
||||
* @inheritdoc
|
||||
* @override
|
||||
*/
|
||||
update(data: HashInput): this;
|
||||
/**
|
||||
* Returns a digest of the hash with the given encoding.
|
||||
*/
|
||||
digest(options?: IBaseHashOptions): Hash;
|
||||
digest(encoding: undefined, options: IBaseHashOptions): Hash;
|
||||
digest(encoding: BrowserEncoding, options?: IBaseHashOptions): string;
|
||||
}
|
||||
/**
|
||||
* A Node.js crypto-like createHash method.
|
||||
*/
|
||||
export declare const createHash: () => BrowserHasher;
|
||||
/**
|
||||
* A Node.js crypto-like createHash method.
|
||||
*/
|
||||
export declare const createKeyed: (key: Uint8Array) => BrowserHasher;
|
Loading…
Add table
Add a link
Reference in a new issue