UNPKG

@tigthor/kokocrypt

Version:

Enhanced Fortress Edition - Secure, quantum-resistant, high-performance encryption package

10 lines (9 loc) 320 B
export interface WireBox { iv: string; data: string; kid: string; ts: number; } export declare function toWireBox(combinedEncrypted: Buffer, kid: string, ts: number): WireBox; export declare function fromWireBox(box: WireBox): Buffer; export declare function isWireBox(value: unknown): value is WireBox;