write
Engine.write_public_key_a(public_key_a, filename)
- Saves the public key a to the specified path.
- Input:
- PublicKeyA
- filename: str
- Can be an absolute or relative path.
- Output:
- None
Examples
Using an absolute path
from desilofhe import Engine
engine = Engine(use_multiparty=True)
public_key_a = engine.create_public_key_a()
engine.write_public_key_a(public_key_a, "/opt/desilo/public_key_a")
Using a relative path