A hacky implementation of One-time pad
One-Time-Pad Python is a command-line encryption tool, which uses an encryption mechanism very similar to One-time Pad (Duh. Thanks for telling that)
Install it using pip:
$ pip install onetimepad
To use it from the command-line, run:
Or, import the onetimepad module in your script:
#!/usr/bin/env python3 import onetimepad cipher = onetimepad.encrypt('some text', 'a_random_key') msg = onetimepad.decrypt(cipher, 'a_random_key')
This project is licensed under the terms of MIT LICENSE, please see LICENSE file for more details.