Dev Build / cleanup (push) Canceled after 0s
Dev Build / typecheck (push) Canceled after 0s
Dev Build / build (linux-arm64, ubuntu-24.04-arm, linux-arm64) (push) Canceled after 0s
Dev Build / build (linux-x64, ubuntu-latest, linux-x64) (push) Canceled after 0s
Dev Build / build (win-x64, windows-latest, win32-x64) (push) Canceled after 0s
Dev Build / dispatch-dev-docker (push) Canceled after 0s
21 lines
776 B
Plaintext
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 |