read
Engine.read_decrypted_share(file_path)- Creates a decrypted share 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:
- DecryptedShare
Examples
Using an absolute path
from desilofhe import Engine
engine = Engine(use_multiparty=True)
decrypted_share = engine.read_decrypted_share("/opt/desilo/decrypted_share")
Using a relative path