serialized_nbytes

FixedRotationKey.serialized_nbytes
Shows the size of a fixed rotation key when serialized.
  • Output
    • serialized_nbytes, int
from desilofhe import Engine

engine = Engine()
secret_key = engine.create_secret_key()
fixed_rotation_key = engine.create_fixed_rotation_key(secret_key, delta=1)
serialized_nbytes = fixed_rotation_key.serialized_nbytes