UNPKG

@logismika/crypto

Version:
9 lines (8 loc) 500 B
import { ExpandedKey } from "./common"; export declare const decrypt: (key: string | Uint8Array, inStream: Uint8Array, length: number) => Promise<Uint8Array>; export declare const decryptBlock: (key: ExpandedKey, blk: Uint8Array) => Uint8Array; export declare const decrypt_testPackage: { readonly GOST_Kuz_reverse_S: (in_data: Uint8Array) => Uint8Array; readonly GOST_Kuz_reverse_L: (in_data: Uint8Array) => Uint8Array; readonly GOST_Kuz_reverse_R: (state: Uint8Array) => Uint8Array; };