Index _ | A | B | C | D | E | F | G | H | I | K | L | M | N | O | P | Q | R | S | T | U | V | X _ __bool__() (toy_crypto.types.SupportsBool method) __getitem__() (toy_crypto.sec_games.TransitionTable method) __int__() (toy_crypto.sieve.Sievish method) A a (toy_crypto.ec.Curve property) abc2idx (toy_crypto.vigenere.Alphabet property) add() (toy_crypto.ec.Point method) (toy_crypto.vigenere.Alphabet method) allow_unsafe_messages() (toy_crypto.rsa.Oaep class method) Alphabet (class in toy_crypto.vigenere) alphabet (toy_crypto.vigenere.Alphabet property) (toy_crypto.vigenere.Cipher property) are_unsafe_messages_allowed() (toy_crypto.rsa.Oaep class method) as_bytes() (toy_crypto.bit_utils.Bit method) as_int() (toy_crypto.bit_utils.Bit method) B b (toy_crypto.ec.Curve property) BaSieve (class in toy_crypto.sieve) Bit (class in toy_crypto.bit_utils) bit_index() (in module toy_crypto.bit_utils) bit_index_linear() (in module toy_crypto.bit_utils) bits() (in module toy_crypto.bit_utils) Byte (in module toy_crypto.types) C CAPS_ONLY (toy_crypto.vigenere.Alphabet attribute) CHALLENGED (toy_crypto.sec_games.State attribute) choices() (in module toy_crypto.rand) Cipher (class in toy_crypto.vigenere) compute_y() (toy_crypto.ec.Curve method) coprimes() (toy_crypto.nt.FactorList method) count (toy_crypto.sieve.BaSieve property) (toy_crypto.sieve.IntSieve property) (toy_crypto.sieve.SetSieve property) (toy_crypto.sieve.Sievish property) cp() (toy_crypto.ec.Point method) crypt() (toy_crypto.vigenere.Cipher method) Cryptor (in module toy_crypto.sec_games) current_state (toy_crypto.sec_games.SupportsTTable attribute) Curve (class in toy_crypto.ec) D decode() (toy_crypto.utils.Rsa129 class method) DECRYPT (toy_crypto.sec_games.Action attribute) decrypt() (toy_crypto.rsa.PrivateKey method) (toy_crypto.sec_games.Ind method) (toy_crypto.vigenere.Cipher method) DEFAULT (toy_crypto.vigenere.Alphabet attribute) digest_size (toy_crypto.rsa.Oaep.HashInfo attribute) digit_count() (in module toy_crypto.utils) double() (toy_crypto.ec.Point method) E e (toy_crypto.rsa.PrivateKey property) (toy_crypto.rsa.PublicKey property) egcd() (in module toy_crypto.nt) encode() (toy_crypto.utils.Rsa129 class method) ENCRYPT (toy_crypto.sec_games.Action attribute) encrypt() (toy_crypto.rsa.PublicKey method) (toy_crypto.sec_games.Ind method) (toy_crypto.vigenere.Cipher method) ENCRYPT_ONE (toy_crypto.sec_games.Action attribute) encrypt_one() (toy_crypto.sec_games.Ind method) estimate_strength() (in module toy_crypto.rsa) EXACT_THRESHOLD (in module toy_crypto.birthday) F factor() (in module toy_crypto.nt) FactorList (class in toy_crypto.nt) factors_are_prime (toy_crypto.nt.FactorList property) FINALIZE (toy_crypto.sec_games.Action attribute) finalize() (toy_crypto.sec_games.Ind method) fips186_prime_gen() (in module toy_crypto.rsa) flip_end() (in module toy_crypto.bit_utils) from_int() (toy_crypto.sieve.BaSieve class method) (toy_crypto.sieve.IntSieve class method) (toy_crypto.sieve.SetSieve class method) (toy_crypto.sieve.Sievish class method) from_list() (toy_crypto.sieve.BaSieve class method) (toy_crypto.sieve.IntSieve class method) (toy_crypto.sieve.SetSieve class method) (toy_crypto.sieve.Sievish class method) from_size() (toy_crypto.sieve.BaSieve class method) (toy_crypto.sieve.IntSieve class method) (toy_crypto.sieve.SetSieve class method) (toy_crypto.sieve.Sievish class method) function (toy_crypto.rsa.Oaep.HashInfo attribute) G gcd() (in module toy_crypto.nt) get_bit() (in module toy_crypto.bit_utils) get_prime() (in module toy_crypto.nt) H hamming_distance() (in module toy_crypto.bit_utils) HashFunc (in module toy_crypto.rsa) hashlib_name (toy_crypto.rsa.Oaep.HashInfo attribute) I i2osp() (toy_crypto.rsa.Oaep static method) iadd() (toy_crypto.ec.Point method) idouble() (toy_crypto.ec.Point method) Ind (class in toy_crypto.sec_games) IndCca1 (class in toy_crypto.sec_games) IndCca1.T_TABLE (in module toy_crypto.sec_games.IndCca1) IndCca2 (class in toy_crypto.sec_games) IndCca2.T_TABLE (in module toy_crypto.sec_games.IndCca2) IndCpa (class in toy_crypto.sec_games) IndCpa.T_TABLE (in module toy_crypto.sec_games.IndCpa) IndEav (class in toy_crypto.sec_games) IndEav.T_TABLE (in module toy_crypto.sec_games.IndEav) INITIALIZE (toy_crypto.sec_games.Action attribute) initialize() (toy_crypto.sec_games.Ind method) INITIALIZED (toy_crypto.sec_games.State attribute) input_limit (toy_crypto.rsa.Oaep.HashInfo attribute) IntSieve (class in toy_crypto.sieve) inverse() (toy_crypto.vigenere.Alphabet method) is_byte() (in module toy_crypto.types) is_integral() (toy_crypto.nt.FactorList method) is_modulus() (in module toy_crypto.nt) is_positive_int() (in module toy_crypto.types) is_prob() (in module toy_crypto.types) is_square() (in module toy_crypto.nt) is_zero (toy_crypto.ec.Point property) isprime() (in module toy_crypto.nt) isqrt() (in module toy_crypto.nt) K K (in module toy_crypto.sec_games) key (toy_crypto.vigenere.Cipher property) key_gen() (in module toy_crypto.rsa) KeyGenerator (in module toy_crypto.sec_games) keys() (toy_crypto.sec_games.TransitionTable method) KNOWN_HASHES (toy_crypto.rsa.Oaep attribute) KNOWN_MGFS (toy_crypto.rsa.Oaep attribute) L lcm() (in module toy_crypto.nt) M manage_state() (in module toy_crypto.sec_games) MAX_QBIRTHDAY_P (in module toy_crypto.birthday) mgf1() (toy_crypto.rsa.Oaep static method) MgfFunc (in module toy_crypto.rsa) mod_sqrt() (in module toy_crypto.nt) modinv() (in module toy_crypto.nt) module toy_crypto.birthday toy_crypto.bit_utils toy_crypto.ec toy_crypto.nt toy_crypto.rand toy_crypto.rsa toy_crypto.sec_games toy_crypto.sieve toy_crypto.types toy_crypto.utils toy_crypto.vigenere Modulus (class in toy_crypto.nt) modulus (toy_crypto.vigenere.Alphabet property) (toy_crypto.vigenere.Cipher property) N n (toy_crypto.nt.FactorList property) N (toy_crypto.rsa.PublicKey property) n (toy_crypto.sieve.BaSieve property) (toy_crypto.sieve.IntSieve property) (toy_crypto.sieve.SetSieve property) (toy_crypto.sieve.Sievish property) neg() (toy_crypto.ec.Point method) normalize() (toy_crypto.nt.FactorList method) nth_prime() (toy_crypto.sieve.BaSieve method) (toy_crypto.sieve.IntSieve method) (toy_crypto.sieve.SetSieve method) (toy_crypto.sieve.Sievish method) O Oaep (class in toy_crypto.rsa) Oaep.HashInfo (class in toy_crypto.rsa) Oaep.MgfInfo (class in toy_crypto.rsa) oaep_decrypt() (toy_crypto.rsa.PrivateKey method) oaep_encrypt() (toy_crypto.rsa.PublicKey method) on_curve() (toy_crypto.ec.Point method) order (toy_crypto.ec.Curve property) os2ip() (toy_crypto.rsa.Oaep static method) P p (toy_crypto.ec.Curve property) P() (in module toy_crypto.birthday) PAI (toy_crypto.ec.Curve property) phi (toy_crypto.nt.FactorList property) Point (class in toy_crypto.ec) PositiveInt (class in toy_crypto.types) pow() (toy_crypto.nt.FactorList method) primes() (toy_crypto.sieve.BaSieve method) (toy_crypto.sieve.IntSieve method) (toy_crypto.sieve.SetSieve method) (toy_crypto.sieve.Sievish method) PRINTABLE (toy_crypto.vigenere.Alphabet attribute) PrivateKey (class in toy_crypto.rsa) Prob (class in toy_crypto.types) probable_keysize() (in module toy_crypto.vigenere) probably_prime() (in module toy_crypto.nt) pub_key (toy_crypto.rsa.PrivateKey property) PublicKey (class in toy_crypto.rsa) Q Q() (in module toy_crypto.birthday) R radical() (toy_crypto.nt.FactorList method) radical_value() (toy_crypto.nt.FactorList method) random() (in module toy_crypto.rand) randrange() (in module toy_crypto.rand) RFC RFC 5869 RFC 8017, [1], [2], [3] RFC 8017 Appendix B.2 RFC 8017 Appendix B.2.1, [1] RFC 8017 Section 4.1, [1] RFC 8017 Section 4.2, [1] RFC 8017 Section 7.1 RFC 8017 Section 7.1.1, [1] Rsa129 (class in toy_crypto.utils) S scaler_multiply() (toy_crypto.ec.Point method) set_bit() (in module toy_crypto.bit_utils) set_bit_in_byte() (in module toy_crypto.bit_utils) SetSieve (class in toy_crypto.sieve) shuffle() (in module toy_crypto.rand) Sieve (class in toy_crypto.sieve) Sievish (protocol in toy_crypto.sieve) STARTED (toy_crypto.sec_games.State attribute) StateError (class in toy_crypto.sec_games) subtract() (toy_crypto.vigenere.Alphabet method) SupportsBool (protocol in toy_crypto.types) SupportsTTable (protocol in toy_crypto.sec_games) T t_table (toy_crypto.sec_games.SupportsTTable attribute) toy_crypto.birthday module toy_crypto.bit_utils module toy_crypto.ec module toy_crypto.nt module toy_crypto.rand module toy_crypto.rsa module toy_crypto.sec_games module toy_crypto.sieve module toy_crypto.types module toy_crypto.utils module toy_crypto.vigenere module TRACK_CHALLENGE_CTEXTS (toy_crypto.sec_games.Ind attribute) (toy_crypto.sec_games.IndCca1 attribute) (toy_crypto.sec_games.IndCca2 attribute) (toy_crypto.sec_games.IndCpa attribute) (toy_crypto.sec_games.IndEav attribute) TransitionTable (class in toy_crypto.sec_games) U unit() (toy_crypto.nt.FactorList method) V value() (toy_crypto.nt.FactorList method) X Xor (class in toy_crypto.utils) xor() (in module toy_crypto.utils)