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
21
cool-dawn-3d3b/node_modules/blake3-wasm/dist/node-native/hash-fn.d.ts
generated
vendored
Normal file
21
cool-dawn-3d3b/node_modules/blake3-wasm/dist/node-native/hash-fn.d.ts
generated
vendored
Normal file
|
@ -0,0 +1,21 @@
|
|||
/// <reference types="node" />
|
||||
import { HashInput } from '../node/hash-fn';
|
||||
import { IBaseHashOptions } from '../base/hash-fn';
|
||||
/**
|
||||
* @hidden
|
||||
*/
|
||||
export declare const normalizeInput: (input: HashInput, encoding?: "ascii" | "utf8" | "utf-8" | "utf16le" | "ucs2" | "ucs-2" | "base64" | "latin1" | "binary" | "hex" | undefined) => Buffer;
|
||||
/**
|
||||
* Returns a blake3 hash of the input, returning the binary hash data.
|
||||
*/
|
||||
export declare function hash(input: HashInput, { length }?: IBaseHashOptions): Buffer | string;
|
||||
/**
|
||||
* Given cryptographic key material and a context string, services a subkey of
|
||||
* any length. See {@link https://docs.rs/blake3/0.1.3/blake3/fn.derive_key.html}
|
||||
* for more information.
|
||||
*/
|
||||
export declare function deriveKey(context: string, material: HashInput, { length }?: IBaseHashOptions): Buffer;
|
||||
/**
|
||||
* The keyed hash function. See {@link https://docs.rs/blake3/0.1.3/blake3/fn.keyed_hash.html}.
|
||||
*/
|
||||
export declare function keyedHash(key: Buffer, input: HashInput, { length }?: IBaseHashOptions): Buffer;
|
Loading…
Add table
Add a link
Reference in a new issue