serialized_nbytes

FixedRollKey.serialized_nbytes
Shows the size of a fixed roll key when serialized.
  • Type:
    • int
from desilofhe import Engine

engine = Engine()
secret_key = engine.create_secret_key()
fixed_roll_key = engine.create_fixed_roll_key(secret_key, shift=1)
serialized_nbytes = fixed_roll_key.serialized_nbytes