UNPKG

@li0ard/kalyna

Version:

Kalyna (DSTU 7624:2014) cipher implementation in pure TypeScript

9 lines (8 loc) 337 B
import { type TArg, type TRet } from "@li0ard/gost3413/dist/utils.js"; import type { KalynaBase } from "../core.js"; /** * Compute CMAC * @param cipherClass Initialized cipher class * @param in_ Data to be authenticated */ export declare const cmac: (cipherClass: KalynaBase, data: TArg<Uint8Array>, q?: number) => TRet<Uint8Array>;