serialized_nbytes

LightPlaintext.serialized_nbytes
Shows the size of a light plaintext when serialized.
  • Type:
    • int
from desilofhe import Engine

engine = Engine()

message = [1, 2, 3]
light_plaintext = engine.encode_to_light_plaintext(message)
serialized_nbytes = light_plaintext.serialized_nbytes