read

Engine.read_ciphertext(file_path)
파일을 읽어서 암호문을 생성합니다.
  • 인풋:
    • file_path: str 혹은 pathlib.Path
      • 절대 경로, 상대 경로 전부 가능합니다.
  • 아웃풋:
    • Ciphertext

예시

절대 경로

from desilofhe import Engine

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

상대 경로

from desilofhe import Engine

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