Python/ciphers
Aniruddha Bhattacharjee b743e44259
Wavelet tree (#4267)
* Added the matrix_exponentiation.py file in maths directory

* Implemented the requested changes

* Update matrix_exponentiation.py

* resolve merge conflict with upstream branch

* add new line at end of file

* add wavelet_tree

* fix isort issue

* updating DIRECTORY.md

* fix variable names in wavelet_tree and correct typo

* Add type hints and variable renaming

* Update data_structures/binary_tree/wavelet_tree.py

Add doctests to placate the algorithm-bot, thanks to @cclauss.

Co-authored-by: Christian Clauss <cclauss@me.com>

* Move doctest to individual functions and reformat code

* Move common test array to the global scope and reuse in tests

* MMove test array to global scope and minor linting changes

* Correct the failing pytest tests

* MUse built-in list for type annotation

* Update wavelet_tree.py

* types-requests

* updating DIRECTORY.md

* Update wavelet_tree.py

* # type: ignore

* # type: ignore

* Update decrypt_caesar_with_chi_squared.py

* ,

* Update decrypt_caesar_with_chi_squared.py

Co-authored-by: Christian Clauss <cclauss@me.com>
Co-authored-by: github-actions <${GITHUB_ACTOR}@users.noreply.github.com>
Co-authored-by: Aniruddha Bhattacharjee <aniruddha@Aniruddhas-MacBook-Air.local>
2021-06-08 22:49:33 +02:00
..
__init__.py Add __init__.py files in all the directories (#2503) 2020-09-28 19:42:36 +02:00
a1z26.py fix(mypy): Fix annotations for 13 cipher algorithms (#4278) 2021-03-22 07:59:51 +01: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
base16.py Improve Base16 Codebase (#3534) 2020-11-23 13:01:43 +05:30
base32.py fix(mypy): Fix annotations for 13 cipher algorithms (#4278) 2021-03-22 07:59:51 +01:00
base64_encoding.py Replace base64_cipher.py with an easy to understand version (#3925) 2020-11-25 13:38:02 +01:00
base85.py fix(mypy): Fix annotations for 13 cipher algorithms (#4278) 2021-03-22 07:59:51 +01:00
beaufort_cipher.py fix(mypy): Fix annotations for 13 cipher algorithms (#4278) 2021-03-22 07:59:51 +01: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 Update ciphers/caesar_cipher.py with type hints (#3860) 2020-12-10 22:55:57 +05:30
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 Wavelet tree (#4267) 2021-06-08 22:49:33 +02:00
deterministic_miller_rabin.py Add typehints ciphers and bool alg (#3264) 2020-10-16 14:11:52 +08:00
diffie_hellman.py fix(mypy): type annotations for cipher algorithms (#4306) 2021-04-04 07:22:12 +02:00
diffie.py fix(mypy): Fix annotations for 13 cipher algorithms (#4278) 2021-03-22 07:59:51 +01:00
elgamal_key_generator.py fix(mypy): Fix annotations for 13 cipher algorithms (#4278) 2021-03-22 07:59:51 +01:00
enigma_machine2.py fix(mypy): Fix annotations for 13 cipher algorithms (#4278) 2021-03-22 07:59:51 +01:00
hill_cipher.py fix(mypy): type annotations for cipher algorithms (#4306) 2021-04-04 07:22:12 +02: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_implementation.py fix(mypy): type annotations for cipher algorithms (#4306) 2021-04-04 07:22:12 +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
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 Add typehints ciphers and bool alg (#3264) 2020-10-16 14:11:52 +08:00
rail_fence_cipher.py fix(mypy): type annotations for cipher algorithms (#4306) 2021-04-04 07:22:12 +02:00
rot13.py fix(mypy): type annotations for cipher algorithms (#4306) 2021-04-04 07:22:12 +02:00
rsa_cipher.py fix(mypy): type annotations for cipher algorithms (#4306) 2021-04-04 07:22:12 +02:00
rsa_factorization.py fix(mypy): type annotations for cipher algorithms (#4306) 2021-04-04 07:22:12 +02:00
rsa_key_generator.py fix(mypy): Fix annotations for 13 cipher algorithms (#4278) 2021-03-22 07:59:51 +01:00
shuffled_shift_cipher.py fix(mypy): type annotations for cipher algorithms (#4306) 2021-04-04 07:22:12 +02: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 fix(mypy): type annotations for cipher algorithms (#4306) 2021-04-04 07:22:12 +02:00
transposition_cipher_encrypt_decrypt_file.py fix(mypy): type annotations for cipher algorithms (#4306) 2021-04-04 07:22:12 +02:00
transposition_cipher.py fix(mypy): type annotations for cipher algorithms (#4306) 2021-04-04 07:22:12 +02:00
vigenere_cipher.py fix(mypy): type annotations for cipher algorithms (#4306) 2021-04-04 07:22:12 +02:00
xor_cipher.py fix(mypy): type annotations for cipher algorithms (#4306) 2021-04-04 07:22:12 +02:00