write
Engine.write_fixed_rotation_key(fixed_rotation_key, filename)
- Saves the fixed rotation key to the specified path.
- Input:
- FixedRotationKey
- filename: str
- 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()
fixed_rotation_key = engine.create_fixed_rotation_key(secret_key, delta=1)
engine.write_fixed_rotation_key(fixed_rotation_key, "/opt/desilo/fixed_rotation_key")
Using a relative path