nbytes

PublicKey.nbytes
Shows the memory size of a public key.
  • Type:
    • int
from desilofhe import Engine

engine = Engine()
secret_key = engine.create_secret_key()
public_key = engine.create_public_key(secret_key)
nbytes = public_key.nbytes