serialized_nbytes

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

engine = Engine()
secret_key = engine.create_secret_key()
rotation_key = engine.create_rotation_key(secret_key)
serialized_nbytes = rotation_key.serialized_nbytes