write
Engine.write_public_key_b(public_key_b, filename)
- Saves the public key b to the specified path.
- Input:
- PublicKeyB
- 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_b = engine.create_public_key_b()
engine.write(public_key_b, "/opt/desilo/public_key_b")
Using a relative path