Supported Python version: 3.11
Prod
poetry install --only main
Development
poetry install --with dev
Encode and save the file
gif_secret = GifSecret(file_path=Path("tests/gifs/linux.gif"), key="key!")
gif_secret.encode(secret_text="Bentsi loves to code Python :)")
gif_secret.save()
Decode
gif_secret = GifSecret(file_path=Path("tests/gifs/linux.gif"), key="key!")
decoded_message = gif_secret.decode()