Python/ciphers
Vardhaman 2d5dd6f132
MAINT: Updated f-string method (#6230)
* MAINT: Used f-string method

Updated the code with f-string methods wherever required for a better and cleaner understanding of the code.

* Updated files with f-string method

* Update rsa_key_generator.py

* Update rsa_key_generator.py

* Update elgamal_key_generator.py

* Update lru_cache.py

I don't think this change is efficient but it might tackle the error as the error was due to using long character lines.

* Update lru_cache.py

* Update lru_cache.py

Co-authored-by: cyai <seriesscar@gmail.com>
Co-authored-by: Christian Clauss <cclauss@me.com>
2022-07-07 16:34:07 +02:00
..
__init__.py Add __init__.py files in all the directories (#2503) 2020-09-28 19:42:36 +02:00
a1z26.py from __future__ import annotations (#4763) 2021-09-22 23:11:51 +02:00
affine_cipher.py fix(mypy): Fix annotations for 13 cipher algorithms (#4278) 2021-03-22 07:59:51 +01:00
atbash.py fix(mypy): Fix annotations for 13 cipher algorithms (#4278) 2021-03-22 07:59:51 +01:00
baconian_cipher.py Remove wrongly placed double qoutes (#5530) 2021-10-23 01:14:08 +08:00
base16.py Split base85.py into functions, Add doctests (#5746) 2021-11-02 11:10:25 +01:00
base32.py split into usable functions and added docstrings for base32 cipher (#5466) 2021-10-22 13:14:35 +02:00
base64.py Split base85.py into functions, Add doctests (#5746) 2021-11-02 11:10:25 +01:00
base85.py Split base85.py into functions, Add doctests (#5746) 2021-11-02 11:10:25 +01:00
beaufort_cipher.py fix(mypy): Fix annotations for 13 cipher algorithms (#4278) 2021-03-22 07:59:51 +01:00
bifid.py Add Bifid cipher (#5493) 2021-10-24 22:33:53 +02:00
brute_force_caesar_cipher.py fix(mypy): Fix annotations for 13 cipher algorithms (#4278) 2021-03-22 07:59:51 +01:00
caesar_cipher.py Pyupgrade to Python 3.9 (#4718) 2021-09-07 13:37:03 +02:00
cryptomath_module.py fix(mypy): Fix annotations for 13 cipher algorithms (#4278) 2021-03-22 07:59:51 +01:00
decrypt_caesar_with_chi_squared.py Make decrypt_caesar_with_chi_squared work with upper case letters (#5379) 2021-10-31 11:46:31 +01:00
deterministic_miller_rabin.py The black formatter is no longer beta (#5960) 2022-01-30 20:29:54 +01:00
diffie_hellman.py fix(mypy): type annotations for cipher algorithms (#4306) 2021-04-04 07:22:12 +02:00
diffie.py Pyupgrade to Python 3.9 (#4718) 2021-09-07 13:37:03 +02:00
elgamal_key_generator.py MAINT: Updated f-string method (#6230) 2022-07-07 16:34:07 +02:00
enigma_machine2.py Fix tiny spelling error (#6219) 2022-07-04 00:28:53 +08:00
hill_cipher.py Improve code on f-strings and brevity (#6126) 2022-05-13 20:51:44 +08:00
mixed_keyword_cypher.py fix(mypy): type annotations for cipher algorithms (#4306) 2021-04-04 07:22:12 +02:00
mono_alphabetic_ciphers.py fix(mypy): type annotations for cipher algorithms (#4306) 2021-04-04 07:22:12 +02:00
morse_code.py Add tests to morse_code.py (#5337) 2021-10-16 18:57:38 +02:00
onepad_cipher.py fix(mypy): type annotations for cipher algorithms (#4306) 2021-04-04 07:22:12 +02:00
playfair_cipher.py fix(mypy): type annotations for cipher algorithms (#4306) 2021-04-04 07:22:12 +02:00
polybius.py [mypy] annotate ciphers (#5569) 2021-10-26 12:35:21 +02:00
porta_cipher.py fix(mypy): type annotations for cipher algorithms (#4306) 2021-04-04 07:22:12 +02:00
prehistoric_men.txt Fix all errors mentioned in pre-commit run (#2512) 2020-09-30 10:38:00 +02:00
rabin_miller.py Remove duplicate is_prime related functions (#5892) 2022-04-09 01:40:45 +08:00
rail_fence_cipher.py fix(mypy): type annotations for cipher algorithms (#4306) 2021-04-04 07:22:12 +02:00
README.md Add README files 2/8 (#5766) 2021-11-11 21:39:54 +08:00
rot13.py fix(mypy): type annotations for cipher algorithms (#4306) 2021-04-04 07:22:12 +02:00
rsa_cipher.py MAINT: Updated f-string method (#6230) 2022-07-07 16:34:07 +02:00
rsa_factorization.py The black formatter is no longer beta (#5960) 2022-01-30 20:29:54 +01:00
rsa_key_generator.py MAINT: Updated f-string method (#6230) 2022-07-07 16:34:07 +02:00
shuffled_shift_cipher.py Fix some typos (#6113) 2022-05-01 18:44:23 +08:00
simple_keyword_cypher.py fix(mypy): type annotations for cipher algorithms (#4306) 2021-04-04 07:22:12 +02:00
simple_substitution_cipher.py fix(mypy): type annotations for cipher algorithms (#4306) 2021-04-04 07:22:12 +02:00
trafid_cipher.py from __future__ import annotations (#4763) 2021-09-22 23:11:51 +02:00
transposition_cipher_encrypt_decrypt_file.py MAINT: Updated f-string method (#6230) 2022-07-07 16:34:07 +02:00
transposition_cipher.py MAINT: Updated f-string method (#6230) 2022-07-07 16:34:07 +02:00
vigenere_cipher.py MAINT: Updated f-string method (#6230) 2022-07-07 16:34:07 +02:00
xor_cipher.py from __future__ import annotations (#4763) 2021-09-22 23:11:51 +02:00

Ciphers

Ciphers are used to protect data from people that are not allowed to have it. They are everywhere on the internet to protect your connections.