read

Engine.read_lossy_bootstrap_key(file_path)
파일을 읽어서 손실 부트스트랩 키를 생성합니다.
  • 인풋:
    • file_path: str 혹은 pathlib.Path
      • 절대 경로, 상대 경로 전부 가능합니다.
  • 아웃풋:
    • LossyBootstrapKey

예시

절대 경로

from desilofhe import Engine

engine = Engine(for_bootstrap=True)
lossy_bootstrap_key = engine.read_lossy_bootstrap_key(
    "/opt/desilo/lossy_bootstrap_key"
)

상대 경로

from desilofhe import Engine

engine = Engine(for_bootstrap=True)
lossy_bootstrap_key = engine.read_lossy_bootstrap_key("lossy_bootstrap_key")