read

Engine.read_ciphertext(filename)
파일을 읽어서 암호문을 생성합니다.
  • 인풋:
    • filename: str
      • 절대 경로, 상대 경로 전부 가능합니다.
  • 아웃풋:
    • 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")