Python library for basic encryption like caesar encrypt and 10-key encryption
Project description
experder
a caesar cypher library and 10-key encryption lilbrary for python
Download
python3 -m pip install experder
or
pip install experder
Usage
- caesar_rshift
shifts each character by
key
caesar_rshift(message, key=13)
caesar_rshift('lcpmatthew@gmail.com')
>> 'ypcznggurj@tznvy.pbz'
# Also works with upper and lower case
caesar_rshift('lcpmatthew@gmail.COM', 25)
>> 'kbolzssgdv@flzhk.BNL'
- caesar_lshift
shifts each character backwards by
key
caesar_lshift(message, key=13)
caesar_lshift('ypcznggurj@tznvy.pbz')
>> 'lcpmatthew@gmail.com'
caesar_lshift('kbolzssgdv@flzhk.BNL', 25)
>> 'lcpmatthew@gmail.COM'
- caesar_bruteforce checks every possible combination for caesar encryption and prints on screen
caesar_bruteforce(message)
caesar_bruteforce('kbolzssgdv@flzhk.BNL')
>> 0|kbolzssgdv@flzhk.BNL
>> 1|jankyrrfcu@ekygj.AMK
>> 2|izmjxqqebt@djxfi.ZLJ
>> 3|hyliwppdas@ciweh.YKI
>> 4|gxkhvooczr@bhvdg.XJH
>> 5|fwjgunnbyq@agucf.WIG
>> 6|eviftmmaxp@zftbe.VHF
>> 7|duhesllzwo@yesad.UGE
>> 8|ctgdrkkyvn@xdrzc.TFD
>> 9|bsfcqjjxum@wcqyb.SEC
>> 10|arebpiiwtl@vbpxa.RDB
>> 11|zqdaohhvsk@uaowz.QCA
>> 12|ypcznggurj@tznvy.PBZ
>> 13|xobymfftqi@symux.OAY
>> 14|wnaxleesph@rxltw.NZX
>> 15|vmzwkddrog@qwksv.MYW
>> 16|ulyvjccqnf@pvjru.LXV
>> 17|tkxuibbpme@ouiqt.KWU
>> 18|sjwthaaold@nthps.JVT
>> 19|rivsgzznkc@msgor.IUS
>> 20|qhurfyymjb@lrfnq.HTR
>> 21|pgtqexxlia@kqemp.GSQ
>> 22|ofspdwwkhz@jpdlo.FRP
>> 23|nerocvvjgy@iockn.EQO
>> 24|mdqnbuuifx@hnbjm.DPN
>> 25|lcpmatthew@gmail.COM
- tenkey_rshift
Does not only have to be ten key
Works like this:
tenkey_rshift('aaaa',15)
a | a | a | a |
---|---|---|---|
1 | 5 | 1 | 5 |
b | f | b | f |
tenkey_rshift('aaaa',153)
a | a | a | a |
---|---|---|---|
1 | 5 | 3 | 1 |
b | f | d | b |
tenkey_rshift('aa aa',153, skip_spaces=True)
a | a | a | a | |
---|---|---|---|---|
1 | 5 | \ | 3 | 1 |
b | f | 3 | 1 |
tenkey_rshift('aa aa',153, skip_spaces=False)
a | a | a | a | |
---|---|---|---|---|
1 | 5 | 3 | 1 | 5 |
b | f | b | f |
tenkey_rshift(message, key, skip_spaces=True)
- tenkey_lshift works like tenkey_rshift but shifts left
experder
Matthew Lam 2020
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
experder-0.1.0.tar.gz
(3.4 kB
view details)
Built Distribution
File details
Details for the file experder-0.1.0.tar.gz
.
File metadata
- Download URL: experder-0.1.0.tar.gz
- Upload date:
- Size: 3.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.8.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f900f274a1f88822c7c12d4953c0404bed957d79a1d2f5e7c64aeb67f9f017db |
|
MD5 | deecf3c6e2dbc20dbe47454a62b7aaea |
|
BLAKE2b-256 | fd826ed0ab0ca2a20094e2939d49605a44292e1a0bd77bafb0d19a2d88167130 |
File details
Details for the file experder-0.1.0-py3-none-any.whl
.
File metadata
- Download URL: experder-0.1.0-py3-none-any.whl
- Upload date:
- Size: 3.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.8.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 73266dce83b088c080adaea78e6776d44f620efdc91a125cb6ebda4f73ce88f0 |
|
MD5 | a06f1add4e99fef1b45499b5e6c2a9eb |
|
BLAKE2b-256 | e4da58563666feca0c18163957521a34c5041ee8eb3589e3d1150ac12b893a38 |