read

Engine.read_light_plaintext(file_path)
Creates a light plaintext by reading data from a file.
  • Input:
    • file_path: str | pathlib.Path
      • Can be an absolute or relative path.
  • Output:
    • LightPlaintext

Warning

  • The matrix form does not yet support this operation.

Examples

Using an absolute path

from desilofhe import Engine

engine = Engine()
light_plaintext = engine.read_light_plaintext("/opt/desilo/light_plaintext")

Using a relative path

from desilofhe import Engine

engine = Engine()
light_plaintext = engine.read_light_plaintext("light_plaintext")