KyberKeyPair.generate constructor

KyberKeyPair.generate()

Implementation

factory KyberKeyPair.generate() {
  Uint8List pk = Uint8List(KYBER_PUBLICKEYBYTES);
  Uint8List sk = Uint8List(KYBER_SECRETKEYBYTES);
  cryptokemkeypair(pk, sk);
  return KyberKeyPair._(pk, sk);
}