serialize

Engine.serialize_fixed_rotation_key(fixed_rotation_key)
고정 회전 키를 직렬화합니다.
  • 인풋:
    • FixedRotationKey
  • 아웃풋:
    • bytearray

예시

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_fixed_rotation_key = engine.serialize_fixed_rotation_key(
    fixed_rotation_key
)