Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/RsaCtfTool/RsaCtfTool
/ functions
Functions
614 in github.com/RsaCtfTool/RsaCtfTool
⨍
Functions
614
◇
Types & classes
177
Method
test_iroot_non_perfect
(self)
tests/test_number_theory.py:547
Method
test_is_congruent_false
(self)
tests/test_number_theory.py:503
Method
test_is_congruent_true
(self)
tests/test_number_theory.py:499
Method
test_is_cube_false
(self)
tests/test_number_theory.py:219
Method
test_is_cube_true
(self)
tests/test_number_theory.py:215
Method
test_is_divisible_false
(self)
tests/test_number_theory.py:491
Method
test_is_divisible_true
(self)
tests/test_number_theory.py:487
Method
test_is_lucas_false
(self)
tests/test_number_theory.py:379
Method
test_is_lucas_true
(self)
tests/test_number_theory.py:375
Method
test_is_pow2_false
(self)
tests/test_number_theory.py:332
Method
test_is_pow2_true
(self)
tests/test_number_theory.py:328
Method
test_is_square_false
(self)
tests/test_number_theory.py:207
Method
test_is_square_true
(self)
tests/test_number_theory.py:203
Method
test_isqrt_basic
(self)
tests/test_number_theory.py:72
Method
test_isqrt_non_perfect
(self)
tests/test_number_theory.py:85
Method
test_isqrt_perfect_squares
(self)
tests/test_number_theory.py:81
Method
test_isqrt_rem_non_perfect
(self)
tests/test_number_theory.py:533
Method
test_isqrt_rem_perfect_square
(self)
tests/test_number_theory.py:528
Method
test_kraitchik_basic
(self)
tests/test_algos.py:127
Method
test_large_numbers
(self)
tests/test_utils.py:21
Method
test_large_prime
(self)
tests/test_number_theory.py:130
Method
test_lcm_basic
(self)
tests/test_number_theory.py:227
Method
test_lcm_coprime
(self)
tests/test_number_theory.py:235
Method
test_lcm_same
(self)
tests/test_number_theory.py:232
Method
test_legendre_quadratic_non_residue
(self)
tests/test_number_theory.py:311
Method
test_legendre_quadratic_residue
(self)
tests/test_number_theory.py:306
Method
test_lehman_invalid_congruence
(self)
tests/test_algos.py:138
Method
test_lehmer_machine_invalid_congruence
(self)
tests/test_algos.py:201
Method
test_list_prod_empty
(self)
tests/test_number_theory.py:242
Method
test_list_prod_multiple
(self)
tests/test_number_theory.py:248
Method
test_list_prod_single
(self)
tests/test_number_theory.py:245
Method
test_lucas_basic
(self)
tests/test_number_theory.py:364
Method
test_mersenne_pm1_gcd
(self)
tests/test_attacks.py:322
Method
test_miller_rabin_composite
(self)
tests/test_number_theory.py:561
Method
test_miller_rabin_prime
(self)
tests/test_number_theory.py:556
Method
test_mlucas_basic
(self)
tests/test_number_theory.py:471
Method
test_mulmod_basic
(self)
tests/test_number_theory.py:403
Method
test_mulmod_zero
(self)
tests/test_number_theory.py:407
Method
test_neg_pow_basic
(self)
tests/test_number_theory.py:439
Method
test_next_prime_basic
(self)
tests/test_number_theory.py:143
Method
test_next_prime_consecutive
(self)
tests/test_number_theory.py:149
Method
test_non_base64
(self)
tests/test_utils.py:34
Method
test_nontrivial_split
(self)
tests/test_algos.py:335
Method
test_not_found
(self)
tests/test_utils.py:76
Method
test_noveltyprimes_attack
(self)
tests/test_attacks.py:51
Method
test_odd_length_hex
(self)
tests/test_utils.py:58
Method
test_pastctfprimes_attack
(self)
tests/test_attacks.py:152
Method
test_phi_primes
(self)
tests/test_number_theory.py:190
Method
test_phi_product
(self)
tests/test_number_theory.py:194
Method
test_pollard_p_1_smooth
(self)
tests/test_algos.py:103
Method
test_pollard_rho_medium
(self)
tests/test_algos.py:93
Method
test_pollard_rho_small
(self)
tests/test_algos.py:87
Method
test_pollard_strassen_basic
(self)
tests/test_algos.py:249
Method
test_powmod_basic
(self)
tests/test_number_theory.py:159
Method
test_powmod_large_exponent
(self)
tests/test_number_theory.py:164
Method
test_powmod_with_mod_1
(self)
tests/test_number_theory.py:167
Method
test_prime_base_collision_large
(self)
tests/test_algos.py:527
Method
test_prime_base_collision_larger
(self)
tests/test_algos.py:397
Method
test_prime_base_collision_small
(self)
tests/test_algos.py:390
Method
test_primorial_pm1_gcd
(self)
tests/test_attacks.py:332
Method
test_private_key_d_computed_from_p_q_e
(self)
tests/test_keys_wrapper.py:98
Method
test_private_key_from_n_e_d
(self)
tests/test_keys_wrapper.py:86
Method
test_private_key_from_p_q_e
(self)
tests/test_keys_wrapper.py:46
Method
test_private_key_n_eq_p_squared
(self)
tests/test_keys_wrapper.py:76
Function
test_private_key_str_empty_when_no_pem
PrivateKey.__str__ returns an empty string when PEM cannot be constructed.
tests/test_regression.py:40
Function
test_private_key_str_never_returns_none
PrivateKey.__str__ must always return a str, not None.
tests/test_regression.py:24
Method
test_private_key_str_nonempty_for_valid_key
(self)
tests/test_keys_wrapper.py:67
Function
test_private_key_str_normal_case
PrivateKey.__str__ returns a non-empty PEM for a normal distinct-prime key.
tests/test_regression.py:54
Method
test_private_key_str_returns_str
(self)
tests/test_keys_wrapper.py:58
Method
test_pubkey_n_is_product_of_primes
(self, weak_public_key_path)
tests/test_pubkey_decode.py:16
Method
test_public_key_attributes
(self, weak_public_key_path)
tests/test_keys_wrapper.py:23
Method
test_public_key_from_pem
(self, weak_public_key_path)
tests/test_keys_wrapper.py:15
Method
test_public_key_invalid_format
(self)
tests/test_keys_wrapper.py:32
Method
test_public_key_str_representation
(self, weak_public_key_path)
tests/test_keys_wrapper.py:36
Method
test_qs_40bit_semiprime
(self)
tests/test_algos.py:453
Method
test_qs_even_n
(self)
tests/test_algos.py:461
Method
test_qs_factor_base_divisor_primes
(self)
tests/test_algos.py:482
Method
test_qs_larger_prime_fails
(self)
tests/test_algos.py:469
Method
test_qs_perfect_square_n
(self)
tests/test_algos.py:477
Method
test_qs_prime_n
(self)
tests/test_algos.py:465
Method
test_qs_qx_zero_in_sieve
(self)
tests/test_algos.py:490
Method
test_qs_small_semiprime
(self)
tests/test_algos.py:445
Method
test_qs_tiny_params_returns_none
(self)
tests/test_algos.py:486
Function
test_raw_rsa_decrypt
PrivateKey.decrypt correctly decrypts raw-RSA-encrypted ciphertext.
tests/test_regression.py:79
Function
test_raw_rsa_decrypt_known_value
Cross-check: encrypt with known key, decrypt and match.
tests/test_regression.py:104
Method
test_recover_pq_from_ned
(self)
tests/test_attacks.py:379
Method
test_repunit_basic
(self)
tests/test_algos.py:283
Method
test_roca_attack
(self)
tests/test_attacks.py:237
Method
test_roundtrip
(self)
tests/test_utils.py:62
Method
test_same_n_huge_e_attack
(self)
tests/test_attacks.py:366
Method
test_sieve_returns_relations
(self)
tests/test_algos.py:425
Method
test_sieve_sign_handling
(self)
tests/test_algos.py:433
Method
test_single_element
(self)
tests/test_utils.py:85
Method
test_siqs_attack
(self)
tests/test_attacks.py:223
Method
test_small_composites
(self)
tests/test_number_theory.py:125
Method
test_small_crt_exp_attack
(self)
tests/test_attacks.py:354
Method
test_small_primes
(self)
tests/test_number_theory.py:120
Method
test_smallq_attack_with_decrypt
(self)
tests/test_attacks.py:63
Method
test_squfof_basic
(self)
tests/test_algos.py:172
Method
test_squfof_invalid_congruence
(self)
tests/test_algos.py:180
← previous
next →
501–600 of 614, ranked by callers