read
Engine.read_plaintext(filename)
- Creates a plaintext by reading data from a file.
- Input:
- filename: str
- Can be an absolute or relative path.
- filename: str
- Output:
- Plaintext
Examples
Using an absolute path
from desilofhe import Engine
engine = Engine()
public_key = engine.read_plaintext("/opt/desilo/public_key")
Using a relative path