read
Engine.read_light_plaintext(file_path)- Creates a light plaintext 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:
- LightPlaintext
Examples
Using an absolute path
from desilofhe import Engine
engine = Engine()
public_key = engine.read_light_plaintext("/opt/desilo/public_key")
Using a relative path