serialize

Engine.serialize_bootstrap_key(bootstrap_key)
부트스트랩 키를 직렬화합니다.
  • 인풋:
    • BootstrapKey
  • 아웃풋:
    • bytearray

예시

from desilofhe import Engine

engine = Engine(for_bootstrap=True)
secret_key = engine.create_secret_key()
bootstrap_key = engine.create_bootstrap_key(secret_key)
serialized_bootstrap_key = engine.serialize_bootstrap_key(bootstrap_key)