read

Engine.read_ciphertext(filename)
Creates a ciphertext by reading data from a file. - Input: - filename: str - Can be an absolute or relative path. - Output: - Ciphertext

Examples

Using an absolute path

from desilofhe import Engine

engine = Engine()
ciphertext = engine.read_ciphertext("/opt/desilo/ciphertext")

Using a relative path

from desilofhe import Engine

engine = Engine()
ciphertext = engine.read_ciphertext("ciphertext")