8000 GitHub - allandingwall/OTPGenerator: A simple one-time pad encryption CLI tool for secure file encryption and decryption, ensuring keys are securely managed and deleted after use.
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

A simple one-time pad encryption CLI tool for secure file encryption and decryption, ensuring keys are securely managed and deleted after use.

License

Notifications You must be signed in to change notification settings

allandingwall/OTPGenerator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Note ⚠️⚠️

This tool is currently a work in progress, and is currently being rewritten from an earlier toy implementation (otp-generator.py) that used integer representations of letters rather than bytes.

One-Time Pad CLI Tool

This is a Python-based Command-Line Interface (CLI) for encrypting and decrypting files using a one-time pad. This tool generates a secure key for each encryption, stores it separately, and deletes it after decryption to prevent reuse.

Features

  • Encrypt files with a unique, securely generated key.
  • Decrypt files using the provided key file.
  • Automatically deletes the key after decryption.

Usage

Encrypt a file:

./otp.py -e -i [input_file] -o [encrypted_file]

Decrypt a file:

./otp.py -d -i [input_file] -o [decrypted_file]

About

A simple one-time pad encryption CLI tool for secure file encryption and decryption, ensuring keys are securely managed and deleted after use.

Topics

Resources

License

Stars

Watchers

Forks

Languages

0