serialize

Engine.serialize_rotation_key(rotation_key)
회전 키를 직렬화합니다.
  • 인풋:
    • RotationKey
  • 아웃풋:
    • bytearray

예시

from desilofhe import Engine

engine = Engine()
secret_key = engine.create_secret_key()
rotation_key = engine.create_rotation_key(secret_key)
serialized_rotation_key = engine.serialize_rotation_key(rotation_key)