read

Engine.read_small_bootstrap_key(filename)
Creates a small bootstrap key by reading data from a file.
  • Input:
    • filename: str
      • Can be an absolute or relative path.
  • Output:
    • SmallBootstrapKey

Examples

Using an absolute path

from desilofhe import Engine

engine = Engine(for_bootstrap=True)
small_bootstrap_key = engine.read_small_bootstrap_key("/opt/desilo/small_bootstrap_key")

Using a relative path

from desilofhe import Engine

engine = Engine(for_bootstrap=True)
small_bootstrap_key = engine.read_small_bootstrap_key("small_bootstrap_key")