UNPKG

crystals-kyber-ts

Version:

KYBER is an IND-CCA2-secure key encapsulation mechanism (KEM).

18 lines 467 B
import { KyberService } from "./kyber.service"; /** * Kyber KEM 1024 implementation */ export class Kyber1024Service extends KyberService { constructor() { super(Kyber1024Service.paramsK); } /** * String representation of the Kyber version */ getAlgorithm() { return "Kyber1024"; } } // Indicates the Kyber version to the rest of the algorithm Kyber1024Service.paramsK = 4; //# sourceMappingURL=kyber1024.service.js.map