├── .github └── workflows │ └── pytest.yml ├── .gitignore ├── LICENSE ├── README.md ├── attacks ├── acd │ ├── mp.py │ ├── ol.py │ └── sda.py ├── cbc │ ├── bit_flipping.py │ ├── iv_recovery.py │ └── padding_oracle.py ├── cbc_and_cbc_mac │ ├── eam_key_reuse.py │ ├── etm_key_reuse.py │ └── mte_key_reuse.py ├── cbc_mac │ └── length_extension.py ├── ctr │ ├── bit_flipping.py │ ├── crime.py │ └── separator_oracle.py ├── ecb │ ├── plaintext_recovery.py │ ├── plaintext_recovery_harder.py │ └── plaintext_recovery_hardest.py ├── ecc │ ├── ecdsa_nonce_reuse.py │ ├── frey_ruck_attack.py │ ├── mov_attack.py │ ├── parameter_recovery.py │ ├── singular_curve.py │ └── smart_attack.py ├── elgamal_encryption │ ├── nonce_reuse.py │ └── unsafe_generator.py ├── elgamal_signature │ └── nonce_reuse.py ├── factorization │ ├── base_conversion.py │ ├── branch_and_prune.py │ ├── complex_multiplication.py │ ├── coppersmith.py │ ├── fermat.py │ ├── gaa.py │ ├── implicit.py │ ├── known_phi.py │ ├── roca.py │ ├── shor.py │ ├── twin_primes.py │ └── unbalanced.py ├── gcm │ └── forbidden_attack.py ├── hnp │ ├── extended_hnp.py │ └── lattice_attack.py ├── ige │ └── padding_oracle.py ├── knapsack │ └── low_density.py ├── lcg │ ├── parameter_recovery.py │ ├── truncated_parameter_recovery.py │ └── truncated_state_recovery.py ├── lwe │ └── arora_ge.py ├── mersenne_twister │ ├── __init__.py │ └── state_recovery.py ├── otp │ └── key_reuse.py ├── pseudoprimes │ └── miller_rabin.py ├── rc4 │ └── fms.py ├── rsa │ ├── bleichenbacher.py │ ├── bleichenbacher_signature_forgery.py │ ├── boneh_durfee.py │ ├── cherkaoui_semmouni.py │ ├── common_modulus.py │ ├── crt_fault_attack.py │ ├── d_fault_attack.py │ ├── desmedt_odlyzko.py │ ├── extended_wiener_attack.py │ ├── hastad_attack.py │ ├── known_crt_exponents.py │ ├── known_d.py │ ├── low_exponent.py │ ├── lsb_oracle.py │ ├── manger.py │ ├── nitaj_crt_rsa.py │ ├── non_coprime_exponent.py │ ├── partial_key_exposure.py │ ├── related_message.py │ ├── stereotyped_message.py │ ├── wiener_attack.py │ ├── wiener_attack_common_prime.py │ └── wiener_attack_lattice.py └── shamir_secret_sharing │ ├── deterministic_coefficients.py │ └── share_forgery.py ├── shared ├── __init__.py ├── complex_multiplication.py ├── crt.py ├── ecc.py ├── hensel.py ├── lattice.py ├── matrices.py ├── partial_integer.py ├── polynomial.py └── small_roots │ ├── __init__.py │ ├── aono.py │ ├── blomer_may.py │ ├── boneh_durfee.py │ ├── coron.py │ ├── coron_direct.py │ ├── ernst.py │ ├── herrmann_may.py │ ├── herrmann_may_multivariate.py │ ├── howgrave_graham.py │ ├── jochemsz_may_integer.py │ ├── jochemsz_may_modular.py │ └── nitaj_fouotsa.py └── test ├── __init__.py ├── shared ├── __init__.py ├── test_ecc.py └── test_shared.py ├── test_acd.py ├── test_cbc.py ├── test_cbc_and_cbc_mac.py ├── test_cbc_mac.py ├── test_ctr.py ├── test_ecb.py ├── test_ecc.py ├── test_elgamal_encryption.py ├── test_elgamal_signature.py ├── test_factorization.py ├── test_gcm.py ├── test_hnp.py ├── test_ige.py ├── test_knapsack.py ├── test_lcg.py ├── test_lwe.py ├── test_mersenne_twister.py ├── test_otp.py ├── test_pseudoprimes.py ├── test_rc4.py ├── test_rsa.py └── test_shamir_secret_sharing.py /.github/workflows/pytest.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jvdsn/crypto-attacks/HEAD/.github/workflows/pytest.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jvdsn/crypto-attacks/HEAD/.gitignore -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jvdsn/crypto-attacks/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jvdsn/crypto-attacks/HEAD/README.md -------------------------------------------------------------------------------- /attacks/acd/mp.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jvdsn/crypto-attacks/HEAD/attacks/acd/mp.py -------------------------------------------------------------------------------- /attacks/acd/ol.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jvdsn/crypto-attacks/HEAD/attacks/acd/ol.py -------------------------------------------------------------------------------- /attacks/acd/sda.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jvdsn/crypto-attacks/HEAD/attacks/acd/sda.py -------------------------------------------------------------------------------- /attacks/cbc/bit_flipping.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jvdsn/crypto-attacks/HEAD/attacks/cbc/bit_flipping.py -------------------------------------------------------------------------------- /attacks/cbc/iv_recovery.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jvdsn/crypto-attacks/HEAD/attacks/cbc/iv_recovery.py -------------------------------------------------------------------------------- /attacks/cbc/padding_oracle.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jvdsn/crypto-attacks/HEAD/attacks/cbc/padding_oracle.py -------------------------------------------------------------------------------- /attacks/cbc_and_cbc_mac/eam_key_reuse.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jvdsn/crypto-attacks/HEAD/attacks/cbc_and_cbc_mac/eam_key_reuse.py -------------------------------------------------------------------------------- /attacks/cbc_and_cbc_mac/etm_key_reuse.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jvdsn/crypto-attacks/HEAD/attacks/cbc_and_cbc_mac/etm_key_reuse.py -------------------------------------------------------------------------------- /attacks/cbc_and_cbc_mac/mte_key_reuse.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jvdsn/crypto-attacks/HEAD/attacks/cbc_and_cbc_mac/mte_key_reuse.py -------------------------------------------------------------------------------- /attacks/cbc_mac/length_extension.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jvdsn/crypto-attacks/HEAD/attacks/cbc_mac/length_extension.py -------------------------------------------------------------------------------- /attacks/ctr/bit_flipping.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jvdsn/crypto-attacks/HEAD/attacks/ctr/bit_flipping.py -------------------------------------------------------------------------------- /attacks/ctr/crime.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jvdsn/crypto-attacks/HEAD/attacks/ctr/crime.py -------------------------------------------------------------------------------- /attacks/ctr/separator_oracle.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jvdsn/crypto-attacks/HEAD/attacks/ctr/separator_oracle.py -------------------------------------------------------------------------------- /attacks/ecb/plaintext_recovery.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jvdsn/crypto-attacks/HEAD/attacks/ecb/plaintext_recovery.py -------------------------------------------------------------------------------- /attacks/ecb/plaintext_recovery_harder.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jvdsn/crypto-attacks/HEAD/attacks/ecb/plaintext_recovery_harder.py -------------------------------------------------------------------------------- /attacks/ecb/plaintext_recovery_hardest.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jvdsn/crypto-attacks/HEAD/attacks/ecb/plaintext_recovery_hardest.py -------------------------------------------------------------------------------- /attacks/ecc/ecdsa_nonce_reuse.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jvdsn/crypto-attacks/HEAD/attacks/ecc/ecdsa_nonce_reuse.py -------------------------------------------------------------------------------- /attacks/ecc/frey_ruck_attack.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jvdsn/crypto-attacks/HEAD/attacks/ecc/frey_ruck_attack.py -------------------------------------------------------------------------------- /attacks/ecc/mov_attack.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jvdsn/crypto-attacks/HEAD/attacks/ecc/mov_attack.py -------------------------------------------------------------------------------- /attacks/ecc/parameter_recovery.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jvdsn/crypto-attacks/HEAD/attacks/ecc/parameter_recovery.py -------------------------------------------------------------------------------- /attacks/ecc/singular_curve.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jvdsn/crypto-attacks/HEAD/attacks/ecc/singular_curve.py -------------------------------------------------------------------------------- /attacks/ecc/smart_attack.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jvdsn/crypto-attacks/HEAD/attacks/ecc/smart_attack.py -------------------------------------------------------------------------------- /attacks/elgamal_encryption/nonce_reuse.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jvdsn/crypto-attacks/HEAD/attacks/elgamal_encryption/nonce_reuse.py -------------------------------------------------------------------------------- /attacks/elgamal_encryption/unsafe_generator.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jvdsn/crypto-attacks/HEAD/attacks/elgamal_encryption/unsafe_generator.py -------------------------------------------------------------------------------- /attacks/elgamal_signature/nonce_reuse.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jvdsn/crypto-attacks/HEAD/attacks/elgamal_signature/nonce_reuse.py -------------------------------------------------------------------------------- /attacks/factorization/base_conversion.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jvdsn/crypto-attacks/HEAD/attacks/factorization/base_conversion.py -------------------------------------------------------------------------------- /attacks/factorization/branch_and_prune.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jvdsn/crypto-attacks/HEAD/attacks/factorization/branch_and_prune.py -------------------------------------------------------------------------------- /attacks/factorization/complex_multiplication.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jvdsn/crypto-attacks/HEAD/attacks/factorization/complex_multiplication.py -------------------------------------------------------------------------------- /attacks/factorization/coppersmith.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jvdsn/crypto-attacks/HEAD/attacks/factorization/coppersmith.py -------------------------------------------------------------------------------- /attacks/factorization/fermat.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jvdsn/crypto-attacks/HEAD/attacks/factorization/fermat.py -------------------------------------------------------------------------------- /attacks/factorization/gaa.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jvdsn/crypto-attacks/HEAD/attacks/factorization/gaa.py -------------------------------------------------------------------------------- /attacks/factorization/implicit.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jvdsn/crypto-attacks/HEAD/attacks/factorization/implicit.py -------------------------------------------------------------------------------- /attacks/factorization/known_phi.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jvdsn/crypto-attacks/HEAD/attacks/factorization/known_phi.py -------------------------------------------------------------------------------- /attacks/factorization/roca.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jvdsn/crypto-attacks/HEAD/attacks/factorization/roca.py -------------------------------------------------------------------------------- /attacks/factorization/shor.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jvdsn/crypto-attacks/HEAD/attacks/factorization/shor.py -------------------------------------------------------------------------------- /attacks/factorization/twin_primes.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jvdsn/crypto-attacks/HEAD/attacks/factorization/twin_primes.py -------------------------------------------------------------------------------- /attacks/factorization/unbalanced.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jvdsn/crypto-attacks/HEAD/attacks/factorization/unbalanced.py -------------------------------------------------------------------------------- /attacks/gcm/forbidden_attack.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jvdsn/crypto-attacks/HEAD/attacks/gcm/forbidden_attack.py -------------------------------------------------------------------------------- /attacks/hnp/extended_hnp.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jvdsn/crypto-attacks/HEAD/attacks/hnp/extended_hnp.py -------------------------------------------------------------------------------- /attacks/hnp/lattice_attack.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jvdsn/crypto-attacks/HEAD/attacks/hnp/lattice_attack.py -------------------------------------------------------------------------------- /attacks/ige/padding_oracle.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jvdsn/crypto-attacks/HEAD/attacks/ige/padding_oracle.py -------------------------------------------------------------------------------- /attacks/knapsack/low_density.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jvdsn/crypto-attacks/HEAD/attacks/knapsack/low_density.py -------------------------------------------------------------------------------- /attacks/lcg/parameter_recovery.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jvdsn/crypto-attacks/HEAD/attacks/lcg/parameter_recovery.py -------------------------------------------------------------------------------- /attacks/lcg/truncated_parameter_recovery.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jvdsn/crypto-attacks/HEAD/attacks/lcg/truncated_parameter_recovery.py -------------------------------------------------------------------------------- /attacks/lcg/truncated_state_recovery.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jvdsn/crypto-attacks/HEAD/attacks/lcg/truncated_state_recovery.py -------------------------------------------------------------------------------- /attacks/lwe/arora_ge.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jvdsn/crypto-attacks/HEAD/attacks/lwe/arora_ge.py -------------------------------------------------------------------------------- /attacks/mersenne_twister/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jvdsn/crypto-attacks/HEAD/attacks/mersenne_twister/__init__.py -------------------------------------------------------------------------------- /attacks/mersenne_twister/state_recovery.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jvdsn/crypto-attacks/HEAD/attacks/mersenne_twister/state_recovery.py -------------------------------------------------------------------------------- /attacks/otp/key_reuse.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jvdsn/crypto-attacks/HEAD/attacks/otp/key_reuse.py -------------------------------------------------------------------------------- /attacks/pseudoprimes/miller_rabin.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jvdsn/crypto-attacks/HEAD/attacks/pseudoprimes/miller_rabin.py -------------------------------------------------------------------------------- /attacks/rc4/fms.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jvdsn/crypto-attacks/HEAD/attacks/rc4/fms.py -------------------------------------------------------------------------------- /attacks/rsa/bleichenbacher.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jvdsn/crypto-attacks/HEAD/attacks/rsa/bleichenbacher.py -------------------------------------------------------------------------------- /attacks/rsa/bleichenbacher_signature_forgery.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jvdsn/crypto-attacks/HEAD/attacks/rsa/bleichenbacher_signature_forgery.py -------------------------------------------------------------------------------- /attacks/rsa/boneh_durfee.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jvdsn/crypto-attacks/HEAD/attacks/rsa/boneh_durfee.py -------------------------------------------------------------------------------- /attacks/rsa/cherkaoui_semmouni.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jvdsn/crypto-attacks/HEAD/attacks/rsa/cherkaoui_semmouni.py -------------------------------------------------------------------------------- /attacks/rsa/common_modulus.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jvdsn/crypto-attacks/HEAD/attacks/rsa/common_modulus.py -------------------------------------------------------------------------------- /attacks/rsa/crt_fault_attack.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jvdsn/crypto-attacks/HEAD/attacks/rsa/crt_fault_attack.py -------------------------------------------------------------------------------- /attacks/rsa/d_fault_attack.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jvdsn/crypto-attacks/HEAD/attacks/rsa/d_fault_attack.py -------------------------------------------------------------------------------- /attacks/rsa/desmedt_odlyzko.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jvdsn/crypto-attacks/HEAD/attacks/rsa/desmedt_odlyzko.py -------------------------------------------------------------------------------- /attacks/rsa/extended_wiener_attack.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jvdsn/crypto-attacks/HEAD/attacks/rsa/extended_wiener_attack.py -------------------------------------------------------------------------------- /attacks/rsa/hastad_attack.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jvdsn/crypto-attacks/HEAD/attacks/rsa/hastad_attack.py -------------------------------------------------------------------------------- /attacks/rsa/known_crt_exponents.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jvdsn/crypto-attacks/HEAD/attacks/rsa/known_crt_exponents.py -------------------------------------------------------------------------------- /attacks/rsa/known_d.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jvdsn/crypto-attacks/HEAD/attacks/rsa/known_d.py -------------------------------------------------------------------------------- /attacks/rsa/low_exponent.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jvdsn/crypto-attacks/HEAD/attacks/rsa/low_exponent.py -------------------------------------------------------------------------------- /attacks/rsa/lsb_oracle.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jvdsn/crypto-attacks/HEAD/attacks/rsa/lsb_oracle.py -------------------------------------------------------------------------------- /attacks/rsa/manger.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jvdsn/crypto-attacks/HEAD/attacks/rsa/manger.py -------------------------------------------------------------------------------- /attacks/rsa/nitaj_crt_rsa.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jvdsn/crypto-attacks/HEAD/attacks/rsa/nitaj_crt_rsa.py -------------------------------------------------------------------------------- /attacks/rsa/non_coprime_exponent.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jvdsn/crypto-attacks/HEAD/attacks/rsa/non_coprime_exponent.py -------------------------------------------------------------------------------- /attacks/rsa/partial_key_exposure.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jvdsn/crypto-attacks/HEAD/attacks/rsa/partial_key_exposure.py -------------------------------------------------------------------------------- /attacks/rsa/related_message.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jvdsn/crypto-attacks/HEAD/attacks/rsa/related_message.py -------------------------------------------------------------------------------- /attacks/rsa/stereotyped_message.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jvdsn/crypto-attacks/HEAD/attacks/rsa/stereotyped_message.py -------------------------------------------------------------------------------- /attacks/rsa/wiener_attack.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jvdsn/crypto-attacks/HEAD/attacks/rsa/wiener_attack.py -------------------------------------------------------------------------------- /attacks/rsa/wiener_attack_common_prime.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jvdsn/crypto-attacks/HEAD/attacks/rsa/wiener_attack_common_prime.py -------------------------------------------------------------------------------- /attacks/rsa/wiener_attack_lattice.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jvdsn/crypto-attacks/HEAD/attacks/rsa/wiener_attack_lattice.py -------------------------------------------------------------------------------- /attacks/shamir_secret_sharing/deterministic_coefficients.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jvdsn/crypto-attacks/HEAD/attacks/shamir_secret_sharing/deterministic_coefficients.py -------------------------------------------------------------------------------- /attacks/shamir_secret_sharing/share_forgery.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jvdsn/crypto-attacks/HEAD/attacks/shamir_secret_sharing/share_forgery.py -------------------------------------------------------------------------------- /shared/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jvdsn/crypto-attacks/HEAD/shared/__init__.py -------------------------------------------------------------------------------- /shared/complex_multiplication.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jvdsn/crypto-attacks/HEAD/shared/complex_multiplication.py -------------------------------------------------------------------------------- /shared/crt.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jvdsn/crypto-attacks/HEAD/shared/crt.py -------------------------------------------------------------------------------- /shared/ecc.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jvdsn/crypto-attacks/HEAD/shared/ecc.py -------------------------------------------------------------------------------- /shared/hensel.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jvdsn/crypto-attacks/HEAD/shared/hensel.py -------------------------------------------------------------------------------- /shared/lattice.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jvdsn/crypto-attacks/HEAD/shared/lattice.py -------------------------------------------------------------------------------- /shared/matrices.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jvdsn/crypto-attacks/HEAD/shared/matrices.py -------------------------------------------------------------------------------- /shared/partial_integer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jvdsn/crypto-attacks/HEAD/shared/partial_integer.py -------------------------------------------------------------------------------- /shared/polynomial.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jvdsn/crypto-attacks/HEAD/shared/polynomial.py -------------------------------------------------------------------------------- /shared/small_roots/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jvdsn/crypto-attacks/HEAD/shared/small_roots/__init__.py -------------------------------------------------------------------------------- /shared/small_roots/aono.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jvdsn/crypto-attacks/HEAD/shared/small_roots/aono.py -------------------------------------------------------------------------------- /shared/small_roots/blomer_may.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jvdsn/crypto-attacks/HEAD/shared/small_roots/blomer_may.py -------------------------------------------------------------------------------- /shared/small_roots/boneh_durfee.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jvdsn/crypto-attacks/HEAD/shared/small_roots/boneh_durfee.py -------------------------------------------------------------------------------- /shared/small_roots/coron.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jvdsn/crypto-attacks/HEAD/shared/small_roots/coron.py -------------------------------------------------------------------------------- /shared/small_roots/coron_direct.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jvdsn/crypto-attacks/HEAD/shared/small_roots/coron_direct.py -------------------------------------------------------------------------------- /shared/small_roots/ernst.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jvdsn/crypto-attacks/HEAD/shared/small_roots/ernst.py -------------------------------------------------------------------------------- /shared/small_roots/herrmann_may.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jvdsn/crypto-attacks/HEAD/shared/small_roots/herrmann_may.py -------------------------------------------------------------------------------- /shared/small_roots/herrmann_may_multivariate.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jvdsn/crypto-attacks/HEAD/shared/small_roots/herrmann_may_multivariate.py -------------------------------------------------------------------------------- /shared/small_roots/howgrave_graham.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jvdsn/crypto-attacks/HEAD/shared/small_roots/howgrave_graham.py -------------------------------------------------------------------------------- /shared/small_roots/jochemsz_may_integer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jvdsn/crypto-attacks/HEAD/shared/small_roots/jochemsz_may_integer.py -------------------------------------------------------------------------------- /shared/small_roots/jochemsz_may_modular.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jvdsn/crypto-attacks/HEAD/shared/small_roots/jochemsz_may_modular.py -------------------------------------------------------------------------------- /shared/small_roots/nitaj_fouotsa.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jvdsn/crypto-attacks/HEAD/shared/small_roots/nitaj_fouotsa.py -------------------------------------------------------------------------------- /test/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/shared/__init__.py: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /test/shared/test_ecc.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jvdsn/crypto-attacks/HEAD/test/shared/test_ecc.py -------------------------------------------------------------------------------- /test/shared/test_shared.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jvdsn/crypto-attacks/HEAD/test/shared/test_shared.py -------------------------------------------------------------------------------- /test/test_acd.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jvdsn/crypto-attacks/HEAD/test/test_acd.py -------------------------------------------------------------------------------- /test/test_cbc.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jvdsn/crypto-attacks/HEAD/test/test_cbc.py -------------------------------------------------------------------------------- /test/test_cbc_and_cbc_mac.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jvdsn/crypto-attacks/HEAD/test/test_cbc_and_cbc_mac.py -------------------------------------------------------------------------------- /test/test_cbc_mac.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jvdsn/crypto-attacks/HEAD/test/test_cbc_mac.py -------------------------------------------------------------------------------- /test/test_ctr.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jvdsn/crypto-attacks/HEAD/test/test_ctr.py -------------------------------------------------------------------------------- /test/test_ecb.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jvdsn/crypto-attacks/HEAD/test/test_ecb.py -------------------------------------------------------------------------------- /test/test_ecc.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jvdsn/crypto-attacks/HEAD/test/test_ecc.py -------------------------------------------------------------------------------- /test/test_elgamal_encryption.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jvdsn/crypto-attacks/HEAD/test/test_elgamal_encryption.py -------------------------------------------------------------------------------- /test/test_elgamal_signature.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jvdsn/crypto-attacks/HEAD/test/test_elgamal_signature.py -------------------------------------------------------------------------------- /test/test_factorization.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jvdsn/crypto-attacks/HEAD/test/test_factorization.py -------------------------------------------------------------------------------- /test/test_gcm.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jvdsn/crypto-attacks/HEAD/test/test_gcm.py -------------------------------------------------------------------------------- /test/test_hnp.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jvdsn/crypto-attacks/HEAD/test/test_hnp.py -------------------------------------------------------------------------------- /test/test_ige.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jvdsn/crypto-attacks/HEAD/test/test_ige.py -------------------------------------------------------------------------------- /test/test_knapsack.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jvdsn/crypto-attacks/HEAD/test/test_knapsack.py -------------------------------------------------------------------------------- /test/test_lcg.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jvdsn/crypto-attacks/HEAD/test/test_lcg.py -------------------------------------------------------------------------------- /test/test_lwe.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jvdsn/crypto-attacks/HEAD/test/test_lwe.py -------------------------------------------------------------------------------- /test/test_mersenne_twister.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jvdsn/crypto-attacks/HEAD/test/test_mersenne_twister.py -------------------------------------------------------------------------------- /test/test_otp.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jvdsn/crypto-attacks/HEAD/test/test_otp.py -------------------------------------------------------------------------------- /test/test_pseudoprimes.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jvdsn/crypto-attacks/HEAD/test/test_pseudoprimes.py -------------------------------------------------------------------------------- /test/test_rc4.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jvdsn/crypto-attacks/HEAD/test/test_rc4.py -------------------------------------------------------------------------------- /test/test_rsa.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jvdsn/crypto-attacks/HEAD/test/test_rsa.py -------------------------------------------------------------------------------- /test/test_shamir_secret_sharing.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jvdsn/crypto-attacks/HEAD/test/test_shamir_secret_sharing.py --------------------------------------------------------------------------------