nbytes

PublicKeyB.nbytes
Shows the memory size of a public key b.
  • Output
    • nbytes, int
from desilofhe import Engine

engine = Engine(use_multiparty=True)
secret_key_1 = engine.create_secret_key()
public_key_a = engine.create_public_key_a()
public_key_b1 = engine.create_public_key_b(secret_key1, public_key_a)
nbytes = public_key_b1.nbytes