Creating a kyber object

The Kyber object is the object that decrypts the message, in machine A.

The following code is used in Machine A to initiate the Kyber object.

import nim_kyber

# Creates a kyber object with random keys and public tables
var k: Kyber = createRandomKyber()

Last updated