Python/ciphers
Maxim Smolskiy f2246ce7fd
Enable ruff ICN001 rule (#11329)
* Enable ruff ICN001 rule

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2024-03-28 18:03:23 +00:00
..
__init__.py Add __init__.py files in all the directories (#2503) 2020-09-28 19:42:36 +02:00
a1z26.py [pre-commit.ci] pre-commit autoupdate (#11322) 2024-03-13 07:52:41 +01:00
affine_cipher.py Removed redundant greatest_common_divisor code (#9358) 2023-10-09 14:19:12 +02:00
atbash.py [pre-commit.ci] pre-commit autoupdate (#11322) 2024-03-13 07:52:41 +01:00
autokey.py Add autoclave cipher (#8029) 2022-12-18 23:26:39 +01:00
baconian_cipher.py Remove wrongly placed double qoutes (#5530) 2021-10-23 01:14:08 +08:00
base16.py Write a proper implementation for base16 (#6909) 2022-10-26 19:09:28 +13:00
base32.py [pre-commit.ci] pre-commit autoupdate (#11322) 2024-03-13 07:52:41 +01:00
base64.py Add more ruff rules (#8767) 2023-05-26 09:34:17 +02:00
base85.py Rewrite of base85.py algorithm (#9069) 2023-09-24 03:36:06 -04:00
beaufort_cipher.py Add more ruff rules (#8767) 2023-05-26 09:34:17 +02:00
bifid.py Make some ruff fixes (#8154) 2023-03-01 17:23:33 +01:00
brute_force_caesar_cipher.py refactor: Move constants outside of variable scope (#7262) 2022-10-16 15:03:29 +05:30
caesar_cipher.py fix typo in caesar_cipher.py (#7761) 2022-10-27 23:03:34 +02:00
cryptomath_module.py Removed redundant greatest_common_divisor code (#9358) 2023-10-09 14:19:12 +02:00
decrypt_caesar_with_chi_squared.py Enable ruff PLR5501 rule (#11332) 2024-03-28 18:25:41 +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 ruff rules ISC flake8-implicit-str-concat (#8892) 2023-07-28 17:53:09 +01:00
diffie.py Add DocTests to diffie.py (#10156) 2023-10-09 17:19:05 +02:00
elgamal_key_generator.py Follow Flake8 pep3101 and remove modulo formatting (#7339) 2022-10-16 22:50:11 +02:00
enigma_machine2.py [pre-commit.ci] pre-commit autoupdate (#11322) 2024-03-13 07:52:41 +01:00
fractionated_morse_cipher.py [pre-commit.ci] pre-commit autoupdate (#11322) 2024-03-13 07:52:41 +01:00
hill_cipher.py Enable ruff ICN001 rule (#11329) 2024-03-28 18:03:23 +00:00
mixed_keyword_cypher.py [pre-commit.ci] pre-commit autoupdate (#11275) 2024-02-05 20:48:10 +01: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 Add tests without modifying code (#10740) 2023-10-22 07:42:26 +02:00
permutation_cipher.py [pre-commit.ci] pre-commit autoupdate (#11322) 2024-03-13 07:52:41 +01:00
playfair_cipher.py added doctest to playfair_cipher.py (#10823) 2023-10-22 17:39:31 -04:00
polybius.py Make some ruff fixes (#8154) 2023-03-01 17:23:33 +01:00
porta_cipher.py fix(mypy): type annotations for cipher algorithms (#4306) 2021-04-04 07:22:12 +02:00
prehistoric_men.txt Fixed file name in transposition_cipher_encrypt_decrypt_file.py. Fixing bug file not found. (#9426) 2023-10-03 23:34:55 -04:00
rabin_miller.py Add flake8 pluin flake8 bugbear to pre-commit (#7132) 2022-10-13 18:03:06 +02:00
rail_fence_cipher.py [pre-commit.ci] pre-commit autoupdate (#11322) 2024-03-13 07:52:41 +01: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 fix: function name typo (#11319) 2024-03-12 09:40:32 +01:00
rsa_factorization.py [pre-commit.ci] pre-commit autoupdate (#11322) 2024-03-13 07:52:41 +01:00
rsa_key_generator.py Removed redundant greatest_common_divisor code (#9358) 2023-10-09 14:19:12 +02:00
running_key_cipher.py Add running key cipher (#10834) 2023-10-29 15:55:37 +01:00
shuffled_shift_cipher.py Raise error not string (#7945) 2022-11-06 15:54:44 +01:00
simple_keyword_cypher.py Fix grammatical mistakes in simple_keyword_cypher.py (#6385) 2022-10-30 08:03:28 +01:00
simple_substitution_cipher.py Add pep8-naming to pre-commit hooks and fixes incorrect naming conventions (#7062) 2022-10-13 00:54:20 +02:00
transposition_cipher_encrypt_decrypt_file.py Fixed file name in transposition_cipher_encrypt_decrypt_file.py. Fixing bug file not found. (#9426) 2023-10-03 23:34:55 -04:00
transposition_cipher.py Add pep8-naming to pre-commit hooks and fixes incorrect naming conventions (#7062) 2022-10-13 00:54:20 +02:00
trifid_cipher.py Add docstrings and doctests and fix a bug ciphers/trifid_cipher.py (#10716) 2023-10-20 23:28:21 +02:00
vernam_cipher.py Create vernam_cipher.py (#10702) 2023-10-19 22:05:16 +02:00
vigenere_cipher.py Add pep8-naming to pre-commit hooks and fixes incorrect naming conventions (#7062) 2022-10-13 00:54:20 +02:00
xor_cipher.py [pre-commit.ci] pre-commit autoupdate (#11322) 2024-03-13 07:52:41 +01: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.