UNPKG

@iota-big3/sdk-quantum

Version:

Quantum-ready architecture with post-quantum cryptography

17 lines 568 B
import type { SecurityLevel } from '../types/quantum.types'; export declare class FrodoKEM { private securityLevel; private params; constructor(securityLevel: SecurityLevel); generateKeyPair(): Promise<{ publicKey: Uint8Array; privateKey: Uint8Array; }>; encapsulate(_publicKey: Uint8Array): Promise<{ ciphertext: Uint8Array; sharedSecret: Uint8Array; }>; decapsulate(_ciphertext: Uint8Array, _privateKey: Uint8Array): Promise<Uint8Array>; private getParameters; } //# sourceMappingURL=frodo.d.ts.map