write
Engine.write_conjugation_key(conjugation_key, file_path)- Saves the conjugation key to the specified path.
- Input:
- ConjugationKey
- file_path: str or pathlib.Path
- Can be an absolute or relative path.
- Output:
- None
Examples
Using an absolute path
from desilofhe import Engine
engine = Engine()
secret_key = engine.create_secret_key()
conjugation_key = engine.create_conjugation_key(secret_key)
engine.write_conjugation_key(conjugation_key, "/opt/desilo/conjugation_key")
Using a relative path