read
Engine.read_bootstrap_key(file_path)- Creates a bootstrap key by reading data from a file.
- Input:
- file_path: str or pathlib.Path
- Can be an absolute or relative path.
- file_path: str or pathlib.Path
- Output:
- BootstrapKey
Warning
- The matrix form does not yet support this operation.
Examples
Using an absolute path
from desilofhe import Engine
engine = Engine(bootstrap=True)
bootstrap_key = engine.read_bootstrap_key("/opt/desilo/bootstrap_key")
Using a relative path