1 line
18 KiB
JSON
1 line
18 KiB
JSON
{"nodes": [{"id": "backend_venv_lib_python3_12_site_packages_cryptography_hazmat_primitives_ciphers_base_py", "label": "base.py", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/cryptography/hazmat/primitives/ciphers/base.py", "source_location": "L1"}, {"id": "base_ciphercontext", "label": "CipherContext", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/cryptography/hazmat/primitives/ciphers/base.py", "source_location": "L16"}, {"id": "base_update", "label": "update()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/cryptography/hazmat/primitives/ciphers/base.py", "source_location": "L18"}, {"id": "base_update_into", "label": "update_into()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/cryptography/hazmat/primitives/ciphers/base.py", "source_location": "L25"}, {"id": "base_finalize", "label": "finalize()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/cryptography/hazmat/primitives/ciphers/base.py", "source_location": "L32"}, {"id": "base_reset_nonce", "label": "reset_nonce()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/cryptography/hazmat/primitives/ciphers/base.py", "source_location": "L38"}, {"id": "base_aeadciphercontext", "label": "AEADCipherContext", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/cryptography/hazmat/primitives/ciphers/base.py", "source_location": "L46"}, {"id": "base_authenticate_additional_data", "label": "authenticate_additional_data()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/cryptography/hazmat/primitives/ciphers/base.py", "source_location": "L48"}, {"id": "base_aeaddecryptioncontext", "label": "AEADDecryptionContext", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/cryptography/hazmat/primitives/ciphers/base.py", "source_location": "L54"}, {"id": "base_finalize_with_tag", "label": "finalize_with_tag()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/cryptography/hazmat/primitives/ciphers/base.py", "source_location": "L56"}, {"id": "base_aeadencryptioncontext", "label": "AEADEncryptionContext", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/cryptography/hazmat/primitives/ciphers/base.py", "source_location": "L63"}, {"id": "base_tag", "label": "tag()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/cryptography/hazmat/primitives/ciphers/base.py", "source_location": "L66"}, {"id": "base_cipher", "label": "Cipher", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/cryptography/hazmat/primitives/ciphers/base.py", "source_location": "L78"}, {"id": "base_cipher_init", "label": ".__init__()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/cryptography/hazmat/primitives/ciphers/base.py", "source_location": "L79"}, {"id": "base_encryptor", "label": "encryptor()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/cryptography/hazmat/primitives/ciphers/base.py", "source_location": "L98"}, {"id": "base_cipher_encryptor", "label": ".encryptor()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/cryptography/hazmat/primitives/ciphers/base.py", "source_location": "L107"}, {"id": "base_decryptor", "label": "decryptor()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/cryptography/hazmat/primitives/ciphers/base.py", "source_location": "L119"}, {"id": "base_cipher_decryptor", "label": ".decryptor()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/cryptography/hazmat/primitives/ciphers/base.py", "source_location": "L128"}, {"id": "base_rationale_19", "label": "Processes the provided bytes through the cipher and returns the results", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/cryptography/hazmat/primitives/ciphers/base.py", "source_location": "L19"}, {"id": "base_rationale_26", "label": "Processes the provided bytes and writes the resulting data into the prov", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/cryptography/hazmat/primitives/ciphers/base.py", "source_location": "L26"}, {"id": "base_rationale_33", "label": "Returns the results of processing the final block as bytes.", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/cryptography/hazmat/primitives/ciphers/base.py", "source_location": "L33"}, {"id": "base_rationale_39", "label": "Resets the nonce for the cipher context to the provided value. Raises an", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/cryptography/hazmat/primitives/ciphers/base.py", "source_location": "L39"}, {"id": "base_rationale_49", "label": "Authenticates the provided bytes.", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/cryptography/hazmat/primitives/ciphers/base.py", "source_location": "L49"}, {"id": "base_rationale_57", "label": "Returns the results of processing the final block as bytes and allows de", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/cryptography/hazmat/primitives/ciphers/base.py", "source_location": "L57"}, {"id": "base_rationale_67", "label": "Returns tag bytes. This is only available after encryption is finalized.", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/cryptography/hazmat/primitives/ciphers/base.py", "source_location": "L67"}], "edges": [{"source": "backend_venv_lib_python3_12_site_packages_cryptography_hazmat_primitives_ciphers_base_py", "target": "abc", "relation": "imports", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/cryptography/hazmat/primitives/ciphers/base.py", "source_location": "L7", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_cryptography_hazmat_primitives_ciphers_base_py", "target": "typing", "relation": "imports", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/cryptography/hazmat/primitives/ciphers/base.py", "source_location": "L8", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_cryptography_hazmat_primitives_ciphers_base_py", "target": "cryptography_hazmat_bindings_rust", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/cryptography/hazmat/primitives/ciphers/base.py", "source_location": "L10", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_cryptography_hazmat_primitives_ciphers_base_py", "target": "cryptography_hazmat_primitives_cipheralgorithm", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/cryptography/hazmat/primitives/ciphers/base.py", "source_location": "L11", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_cryptography_hazmat_primitives_ciphers_base_py", "target": "cryptography_hazmat_primitives_ciphers", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/cryptography/hazmat/primitives/ciphers/base.py", "source_location": "L12", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_cryptography_hazmat_primitives_ciphers_base_py", "target": "cryptography_utils", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/cryptography/hazmat/primitives/ciphers/base.py", "source_location": "L13", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_cryptography_hazmat_primitives_ciphers_base_py", "target": "base_ciphercontext", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/cryptography/hazmat/primitives/ciphers/base.py", "source_location": "L16", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_cryptography_hazmat_primitives_ciphers_base_py", "target": "base_update", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/cryptography/hazmat/primitives/ciphers/base.py", "source_location": "L18", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_cryptography_hazmat_primitives_ciphers_base_py", "target": "base_update_into", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/cryptography/hazmat/primitives/ciphers/base.py", "source_location": "L25", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_cryptography_hazmat_primitives_ciphers_base_py", "target": "base_finalize", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/cryptography/hazmat/primitives/ciphers/base.py", "source_location": "L32", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_cryptography_hazmat_primitives_ciphers_base_py", "target": "base_reset_nonce", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/cryptography/hazmat/primitives/ciphers/base.py", "source_location": "L38", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_cryptography_hazmat_primitives_ciphers_base_py", "target": "base_aeadciphercontext", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/cryptography/hazmat/primitives/ciphers/base.py", "source_location": "L46", "weight": 1.0}, {"source": "base_aeadciphercontext", "target": "base_ciphercontext", "relation": "inherits", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/cryptography/hazmat/primitives/ciphers/base.py", "source_location": "L46", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_cryptography_hazmat_primitives_ciphers_base_py", "target": "base_authenticate_additional_data", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/cryptography/hazmat/primitives/ciphers/base.py", "source_location": "L48", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_cryptography_hazmat_primitives_ciphers_base_py", "target": "base_aeaddecryptioncontext", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/cryptography/hazmat/primitives/ciphers/base.py", "source_location": "L54", "weight": 1.0}, {"source": "base_aeaddecryptioncontext", "target": "base_aeadciphercontext", "relation": "inherits", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/cryptography/hazmat/primitives/ciphers/base.py", "source_location": "L54", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_cryptography_hazmat_primitives_ciphers_base_py", "target": "base_finalize_with_tag", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/cryptography/hazmat/primitives/ciphers/base.py", "source_location": "L56", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_cryptography_hazmat_primitives_ciphers_base_py", "target": "base_aeadencryptioncontext", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/cryptography/hazmat/primitives/ciphers/base.py", "source_location": "L63", "weight": 1.0}, {"source": "base_aeadencryptioncontext", "target": "base_aeadciphercontext", "relation": "inherits", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/cryptography/hazmat/primitives/ciphers/base.py", "source_location": "L63", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_cryptography_hazmat_primitives_ciphers_base_py", "target": "base_tag", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/cryptography/hazmat/primitives/ciphers/base.py", "source_location": "L66", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_cryptography_hazmat_primitives_ciphers_base_py", "target": "base_cipher", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/cryptography/hazmat/primitives/ciphers/base.py", "source_location": "L78", "weight": 1.0}, {"source": "base_cipher", "target": "base_cipher_init", "relation": "method", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/cryptography/hazmat/primitives/ciphers/base.py", "source_location": "L79", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_cryptography_hazmat_primitives_ciphers_base_py", "target": "base_encryptor", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/cryptography/hazmat/primitives/ciphers/base.py", "source_location": "L98", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_cryptography_hazmat_primitives_ciphers_base_py", "target": "base_encryptor", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/cryptography/hazmat/primitives/ciphers/base.py", "source_location": "L103", "weight": 1.0}, {"source": "base_cipher", "target": "base_cipher_encryptor", "relation": "method", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/cryptography/hazmat/primitives/ciphers/base.py", "source_location": "L107", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_cryptography_hazmat_primitives_ciphers_base_py", "target": "base_decryptor", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/cryptography/hazmat/primitives/ciphers/base.py", "source_location": "L119", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_cryptography_hazmat_primitives_ciphers_base_py", "target": "base_decryptor", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/cryptography/hazmat/primitives/ciphers/base.py", "source_location": "L124", "weight": 1.0}, {"source": "base_cipher", "target": "base_cipher_decryptor", "relation": "method", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/cryptography/hazmat/primitives/ciphers/base.py", "source_location": "L128", "weight": 1.0}, {"source": "base_rationale_19", "target": "base_ciphercontext_update", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/cryptography/hazmat/primitives/ciphers/base.py", "source_location": "L19", "weight": 1.0}, {"source": "base_rationale_26", "target": "base_ciphercontext_update_into", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/cryptography/hazmat/primitives/ciphers/base.py", "source_location": "L26", "weight": 1.0}, {"source": "base_rationale_33", "target": "base_ciphercontext_finalize", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/cryptography/hazmat/primitives/ciphers/base.py", "source_location": "L33", "weight": 1.0}, {"source": "base_rationale_39", "target": "base_ciphercontext_reset_nonce", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/cryptography/hazmat/primitives/ciphers/base.py", "source_location": "L39", "weight": 1.0}, {"source": "base_rationale_49", "target": "base_aeadciphercontext_authenticate_additional_data", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/cryptography/hazmat/primitives/ciphers/base.py", "source_location": "L49", "weight": 1.0}, {"source": "base_rationale_57", "target": "base_aeaddecryptioncontext_finalize_with_tag", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/cryptography/hazmat/primitives/ciphers/base.py", "source_location": "L57", "weight": 1.0}, {"source": "base_rationale_67", "target": "base_aeadencryptioncontext_tag", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/cryptography/hazmat/primitives/ciphers/base.py", "source_location": "L67", "weight": 1.0}], "raw_calls": [{"caller_nid": "base_cipher_init", "callee": "isinstance", "source_file": "backend/venv/lib/python3.12/site-packages/cryptography/hazmat/primitives/ciphers/base.py", "source_location": "L85"}, {"caller_nid": "base_cipher_init", "callee": "TypeError", "source_file": "backend/venv/lib/python3.12/site-packages/cryptography/hazmat/primitives/ciphers/base.py", "source_location": "L86"}, {"caller_nid": "base_cipher_init", "callee": "isinstance", "source_file": "backend/venv/lib/python3.12/site-packages/cryptography/hazmat/primitives/ciphers/base.py", "source_location": "L91"}, {"caller_nid": "base_cipher_init", "callee": "validate_for_algorithm", "source_file": "backend/venv/lib/python3.12/site-packages/cryptography/hazmat/primitives/ciphers/base.py", "source_location": "L92"}, {"caller_nid": "base_cipher_encryptor", "callee": "isinstance", "source_file": "backend/venv/lib/python3.12/site-packages/cryptography/hazmat/primitives/ciphers/base.py", "source_location": "L108"}, {"caller_nid": "base_cipher_encryptor", "callee": "ValueError", "source_file": "backend/venv/lib/python3.12/site-packages/cryptography/hazmat/primitives/ciphers/base.py", "source_location": "L110"}, {"caller_nid": "base_cipher_encryptor", "callee": "create_encryption_ctx", "source_file": "backend/venv/lib/python3.12/site-packages/cryptography/hazmat/primitives/ciphers/base.py", "source_location": "L114"}, {"caller_nid": "base_cipher_decryptor", "callee": "create_decryption_ctx", "source_file": "backend/venv/lib/python3.12/site-packages/cryptography/hazmat/primitives/ciphers/base.py", "source_location": "L129"}]} |