write
Engine.write_small_bootstrap_key(small_bootstrap_key, filename)
- Saves the small bootstrap key to the specified path.
- Input:
- SmallBootstrapKey
- filename: str
- Can be an absolute or relative path.
- Output:
- None
Examples
Using an absolute path
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")
Using a relative path