UNPKG

@hicaru/ntrup.js

Version:

Pure JavaScript implementation of NTRU Prime post-quantum cryptography algorithm

4 lines 268 B
import { ParamsConfig } from '../params'; export declare function rqEncodeToBytes(input: Int16Array, { P, RQ_BYTES }: ParamsConfig): Uint8Array; export declare function bytesRqDecode(input: Uint8Array, { P }: ParamsConfig): Int16Array; //# sourceMappingURL=rq.d.ts.map