write
Engine.write_small_bootstrap_key(small_bootstrap_key, filename)
- 지정된 경로에 간이 부트스트랩 키를 저장합니다.
- 인풋:
- SmallBootstrapKey
- filename: str
- 절대 경로, 상대 경로 전부 가능합니다.
- 아웃풋:
- 없음
예시
절대 경로
from desilofhe import Engine
engine = Engine(for_bootstrap=True)
secret_key = engine.create_secret_key()
small_bootstrap_key = engine.create_small_bootstrap_key(secret_key)
engine.write(small_bootstrap_key, "/opt/desilo/small_bootstrap_key")
상대 경로