read

Engine.read_plain_matrix(filename)
파일을 읽어서 행렬 평문을 생성합니다.
  • 인풋:
    • data: bytes or bytearray
  • 아웃풋:
    • PlainMatrix

예시

Using an absolute path

from desilofhe import Engine

engine = Engine(slot_count=64)
plain_matrix = engine.read_plain_matrix("/opt/desilo/plain_matrix")

Using a relative path

from desilofhe import Engine

engine = Engine(slot_count=64)
plain_matrix = engine.read_plain_matrix("plain_matrix")