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
Release files for experder 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| experder-0.1.0.tar.gz | 3.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| experder-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 7.3 kB
Release files / experder-0.1.0.tar.gz
| Download URL | experder-0.1.0.tar.gz |
|---|---|
| Size | 3.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f900f274a1f88822c7c12d4953c0404bed957d79a1d2f5e7c64aeb67f9f017db
|
|
BLAKE2b-256 checksum How to use checksums |
fd826ed0ab0ca2a20094e2939d49605a44292e1a0bd77bafb0d19a2d88167130
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|
Release files / experder-0.1.0-py3-none-any.whl
| Download URL | experder-0.1.0-py3-none-any.whl |
|---|---|
| Size | 3.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
73266dce83b088c080adaea78e6776d44f620efdc91a125cb6ebda4f73ce88f0
|
|
BLAKE2b-256 checksum How to use checksums |
e4da58563666feca0c18163957521a34c5041ee8eb3589e3d1150ac12b893a38
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|