write
Engine.write_conjugation_key(conjugation_key, filename)
- 지정된 경로에 켤레화 키를 저장합니다.
- 인풋:
- ConjugationKey
- filename: str
- 절대 경로, 상대 경로 전부 가능합니다.
- 아웃풋:
- 없음
예시
절대 경로
from desilofhe import Engine
engine = Engine()
secret_key = engine.create_secret_key()
conjugation_key = engine.create_conjugation_key(secret_key)
engine.write(conjugation_key, "/opt/desilo/conjugation_key")
상대 경로