nbytes PublicKey.nbytes Shows the memory size of a public key. Output nbytes, 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