Module: CryptoToolchain
- Defined in:
- lib/crypto_toolchain/utilities/mt_19937.rb,
lib/crypto_toolchain.rb,
lib/crypto_toolchain/srp.rb,
lib/crypto_toolchain/tools.rb,
lib/crypto_toolchain/version.rb,
lib/crypto_toolchain/utilities.rb,
lib/crypto_toolchain/extensions.rb,
lib/crypto_toolchain/srp/client.rb,
lib/crypto_toolchain/srp/server.rb,
lib/crypto_toolchain/black_boxes.rb,
lib/crypto_toolchain/srp/framework.rb,
lib/crypto_toolchain/utilities/md4.rb,
lib/crypto_toolchain/diffie_hellman.rb,
lib/crypto_toolchain/utilities/hmac.rb,
lib/crypto_toolchain/utilities/sha1.rb,
lib/crypto_toolchain/srp/simple_client.rb,
lib/crypto_toolchain/srp/simple_server.rb,
lib/crypto_toolchain/black_boxes/md4_mac.rb,
lib/crypto_toolchain/diffie_hellman/mitm.rb,
lib/crypto_toolchain/diffie_hellman/peer.rb,
lib/crypto_toolchain/black_boxes/sha1_mac.rb,
lib/crypto_toolchain/tools/interactive_xor.rb,
lib/crypto_toolchain/black_boxes/dsa_keypair.rb,
lib/crypto_toolchain/black_boxes/rsa_keypair.rb,
lib/crypto_toolchain/diffie_hellman/messages.rb,
lib/crypto_toolchain/tools/aes_ctr_recoverer.rb,
lib/crypto_toolchain/diffie_hellman/peer_info.rb,
lib/crypto_toolchain/tools/cbc_bitflip_attack.rb,
lib/crypto_toolchain/tools/ctr_bitflip_attack.rb,
lib/crypto_toolchain/tools/determine_blocksize.rb,
lib/crypto_toolchain/black_boxes/aes_ctr_editor.rb,
lib/crypto_toolchain/tools/rsa_broadcast_attack.rb,
lib/crypto_toolchain/black_boxes/rsa_parity_oracle.rb,
lib/crypto_toolchain/tools/mt_19937_seed_recoverer.rb,
lib/crypto_toolchain/black_boxes/cbc_bitflip_target.rb,
lib/crypto_toolchain/black_boxes/cbc_padding_oracle.rb,
lib/crypto_toolchain/black_boxes/ctr_bitflip_target.rb,
lib/crypto_toolchain/black_boxes/rsa_padding_oracle.rb,
lib/crypto_toolchain/tools/cbc_iv_equals_key_attack.rb,
lib/crypto_toolchain/tools/ecb_cut_and_paste_attack.rb,
lib/crypto_toolchain/tools/rsa_parity_oracle_attack.rb,
lib/crypto_toolchain/diffie_hellman/received_message.rb,
lib/crypto_toolchain/tools/cbc_padding_oracle_attack.rb,
lib/crypto_toolchain/tools/rsa_padding_oracle_attack.rb,
lib/crypto_toolchain/black_boxes/ecb_or_cbc_encryptor.rb,
lib/crypto_toolchain/tools/md4_length_extension_attack.rb,
lib/crypto_toolchain/black_boxes/mt_19937_stream_cipher.rb,
lib/crypto_toolchain/tools/sha1_length_extension_attack.rb,
lib/crypto_toolchain/black_boxes/cbc_iv_equals_key_target.rb,
lib/crypto_toolchain/black_boxes/ecb_cut_and_paste_target.rb,
lib/crypto_toolchain/black_boxes/netcat_cbc_padding_oracle.rb,
lib/crypto_toolchain/tools/dsa_recover_nonce_from_signatures.rb,
lib/crypto_toolchain/tools/dsa_recover_private_key_from_nonce.rb,
lib/crypto_toolchain/tools/low_exponent_rsa_signature_forgery.rb,
lib/crypto_toolchain/tools/ecb_prepend_chosen_plaintext_attack.rb,
lib/crypto_toolchain/tools/rsa_unpadded_message_recovery_attack.rb,
lib/crypto_toolchain/tools/mt_19937_stream_cipher_seed_recoverer.rb,
lib/crypto_toolchain/tools/ecb_interpolate_chosen_plaintext_attack.rb,
lib/crypto_toolchain/black_boxes/ecb_prepend_chosen_plaintext_oracle.rb,
lib/crypto_toolchain/black_boxes/rsa_unpadded_message_recovery_oracle.rb,
lib/crypto_toolchain/black_boxes/ecb_interpolate_chosen_plaintext_oracle.rb
Overview
encoding; ASCII-8BIT
Defined Under Namespace
Modules: BlackBoxes, DiffieHellman, Extensions, SRP, Tools, Utilities
Constant Summary collapse
- AES_BLOCK_SIZE =
16- PRINTABLE_CHARACTERS =
((0x20..0x7e).to_a + [0x0a, 0x0d]).map(&:chr).freeze
- NIST_P =
0xffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca237327ffffffffffffffff- NIST_G =
2- ASN1 =
{ md5: "0 0\f\x06\b*\x86H\x86\xF7\r\x02\x05\x05\x00\x04\x10", sha1: "0!0\t\x06\x05+\x0E\x03\x02\x1A\x05\x00\x04\x14", sha256: "010\r\x06\t`\x86H\x01e\x03\x04\x02\x01\x05\x00\x04 ", sha384: "0A0\r\x06\t`\x86H\x01e\x03\x04\x02\x02\x05\x00\x040", sha512: "0Q0\r\x06\t`\x86H\x01e\x03\x04\x02\x03\x05\x00\x04@" }.freeze
- DSA_P =
0x800000000000000089e1855218a0e7dac38136ffafa72eda7859f2171e25e65eac698c1702578b07dc2a1076da241c76c62d374d8389ea5aeffd3226a0530cc565f3bf6b50929139ebeac04f48c3c84afb796d61e5a4f9a8fda812ab59494232c7d2b4deb50aa18ee9e132bfa85ac4374d7f9091abc3d015efc871a584471bb1- DSA_Q =
0xf4f47f05794b256174bba6e9b396a7707e563c5b- DSA_G =
0x5958c9d3898b224b12672c0b98e06c60df923cb8bc999d119458fef538b8fa4046c8db53039db620c094c9fa077ef389b5322a559946a71903f990f1f7e0e025e2d7f7cf494aff1a0470f5b64c36b625a097f1651fe775323556fe00b3608c887892878480e99041be601a62166ca6894bdd41a7054ec89f756ba9fc95302291- VERSION =
"0.2.0"