read
Engine.read_plaintext(file_path)- 파일을 읽어서 평문을 생성합니다.
- 인풋:
- file_path: str 혹은 pathlib.Path
- 절대 경로, 상대 경로 전부 가능합니다.
- file_path: str 혹은 pathlib.Path
- 아웃풋:
- Plaintext
예시
절대 경로
from desilofhe import Engine
engine = Engine()
plaintext = engine.read_plaintext("/opt/desilo/plaintext")
상대 경로