https://github.com/sametcodes/py-vernamcipher
Vernam cipher on python
https://github.com/sametcodes/py-vernamcipher
Last synced: about 1 year ago
JSON representation
Vernam cipher on python
- Host: GitHub
- URL: https://github.com/sametcodes/py-vernamcipher
- Owner: sametcodes
- Created: 2016-08-16T11:34:40.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2016-08-17T15:33:38.000Z (almost 10 years ago)
- Last Synced: 2025-03-28T04:47:58.611Z (about 1 year ago)
- Language: Python
- Homepage:
- Size: 1000 Bytes
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Vernam şifrelemesini uygulayabileceğiniz basit bir Python betiği.
Kullanımı
Şifreleme
Aynı uzunluktaki metini, belirli bir anahtar ile şifrelemek için:
python2 py-vernamcipher.py -e [sifrelenecek_metin] [anahtar]
Aynı uzunluktaki metini, rastgele bir anahtar ile şifrelemek için:
python2 py-vernamcipher.py -e [sifrelenecek_metin] -rkey
Şifre çözme
python2 py-vernamcipher.py -d [sifrelenmis_metin] [anahtar]