UNPKG

@li0ard/kuznyechik

Version:

Kuznyechik cipher implementation in pure TypeScript

13 lines (12 loc) 432 B
/** Block size */ export declare const BLOCK_SIZE = 16; /** Key size */ export declare const KEY_SIZE = 32; /** Cipher rounds */ export declare const ROUNDS = 10; /** Constant `PI` aka S-Box for substitution */ export declare const PI: Uint8Array; /** Constant `PI_REV` aka reversed S-Box for substitution */ export declare const PI_REV: Uint8Array; /** Constant `L` for linear transformation */ export declare const L: Uint8Array;