https://github.com/xxkfqz/vernciph
One-time pad implementation
https://github.com/xxkfqz/vernciph
Last synced: about 2 months ago
JSON representation
One-time pad implementation
- Host: GitHub
- URL: https://github.com/xxkfqz/vernciph
- Owner: xxkfqz
- License: wtfpl
- Created: 2020-05-26T04:37:59.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2020-05-29T08:38:22.000Z (almost 5 years ago)
- Last Synced: 2025-01-28T03:24:32.710Z (4 months ago)
- Language: C
- Size: 1.95 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README
Awesome Lists containing this project
README
'vernciph' - one-time pad (aka Vernam Cipher) implementation for *NIX-like OS.
Build:
make installUsage:
Encrypting
vernciph -k /path/to/input/key/file < /path/to/input/file > /path/to/output/file
vernciph < /path/to/input/file > /path/to/output/file 2> /path/to/key
Decrypting
vernciph -k /path/to/key/file < /path/to/encrypted/file > /path/to/decrypted/fileIf key file is not exists it will be created at specified path and data will be readed from /dev/random
xxkfqz 2020