@webbuf/blake3
Version:
Rust/wasm optimized blake3 hash & mac for the web, node.js, deno, and bun.
6 lines (5 loc) • 303 B
TypeScript
import { WebBuf } from "@webbuf/webbuf";
import { FixedBuf } from "@webbuf/fixedbuf";
export declare function blake3Hash(buf: WebBuf): FixedBuf<32>;
export declare function doubleBlake3Hash(buf: WebBuf): FixedBuf<32>;
export declare function blake3Mac(key: FixedBuf<32>, message: WebBuf): FixedBuf<32>;