Files
SnowLuma/.pnpm-store/v11/files/5f/caa3cc7ab780584601a196a13f866e077d3cd329c114a4d38ea925e0feea94c52c1c1239f6e38119467673da4b6a755c00e2be07ee1392cbbadef4318d8447
T
TanTan 2a69b23b47
Dev Build / cleanup (push) Waiting to run
Dev Build / typecheck (push) Waiting to run
docs: 仓库链接指向本镜像仓库
2026-11-13 09:27:07 +08:00

21 lines
776 B
Plaintext

/**
* Internal helpers for blake hash.
* @module
*/
import { type TRet } from './utils.ts';
/**
* Internal blake permutation table.
* Rows `0..9` serve BLAKE2s, rows `0..11` serve BLAKE2b with `10..11 = 0..1`, and Blake1 also
* reuses the later rows shown below. Blake1 expands rounds `10..15` as `SIGMA[i % 10]`, so rows
* `10..15` intentionally repeat rows `0..5` for the 14-round (256) and 16-round (512) variants.
*/
export declare const BSIGMA: TRet<Uint8Array>;
export type Num4 = {
a: number;
b: number;
c: number;
d: number;
};
export declare function G1s(a: number, b: number, c: number, d: number, x: number): Num4;
export declare function G2s(a: number, b: number, c: number, d: number, x: number): Num4;
//# sourceMappingURL=_blake.d.ts.map