{"nodes": [{"id": "root_socialdesk_apps_worker_src_lib_crypto_mjs", "label": "crypto.mjs", "file_type": "code", "source_file": "/root/socialdesk/apps/worker/src/lib/crypto.mjs", "source_location": "L1"}, {"id": "lib_crypto_getencryptionkey", "label": "getEncryptionKey()", "file_type": "code", "source_file": "/root/socialdesk/apps/worker/src/lib/crypto.mjs", "source_location": "L6"}, {"id": "lib_crypto_encrypt", "label": "encrypt()", "file_type": "code", "source_file": "/root/socialdesk/apps/worker/src/lib/crypto.mjs", "source_location": "L11"}, {"id": "lib_crypto_decrypt", "label": "decrypt()", "file_type": "code", "source_file": "/root/socialdesk/apps/worker/src/lib/crypto.mjs", "source_location": "L29"}], "edges": [{"source": "root_socialdesk_apps_worker_src_lib_crypto_mjs", "target": "crypto", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "/root/socialdesk/apps/worker/src/lib/crypto.mjs", "source_location": "L1", "weight": 1.0}, {"source": "root_socialdesk_apps_worker_src_lib_crypto_mjs", "target": "lib_crypto_getencryptionkey", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/root/socialdesk/apps/worker/src/lib/crypto.mjs", "source_location": "L6", "weight": 1.0}, {"source": "root_socialdesk_apps_worker_src_lib_crypto_mjs", "target": "lib_crypto_encrypt", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/root/socialdesk/apps/worker/src/lib/crypto.mjs", "source_location": "L11", "weight": 1.0}, {"source": "root_socialdesk_apps_worker_src_lib_crypto_mjs", "target": "lib_crypto_decrypt", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/root/socialdesk/apps/worker/src/lib/crypto.mjs", "source_location": "L29", "weight": 1.0}, {"source": "lib_crypto_encrypt", "target": "lib_crypto_getencryptionkey", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "/root/socialdesk/apps/worker/src/lib/crypto.mjs", "source_location": "L15", "weight": 1.0}, {"source": "lib_crypto_decrypt", "target": "lib_crypto_getencryptionkey", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "/root/socialdesk/apps/worker/src/lib/crypto.mjs", "source_location": "L41", "weight": 1.0}], "raw_calls": [{"caller_nid": "lib_crypto_getencryptionkey", "callee": "digest", "is_member_call": true, "source_file": "/root/socialdesk/apps/worker/src/lib/crypto.mjs", "source_location": "L8"}, {"caller_nid": "lib_crypto_getencryptionkey", "callee": "update", "is_member_call": true, "source_file": "/root/socialdesk/apps/worker/src/lib/crypto.mjs", "source_location": "L8"}, {"caller_nid": "lib_crypto_getencryptionkey", "callee": "createHash", "is_member_call": true, "source_file": "/root/socialdesk/apps/worker/src/lib/crypto.mjs", "source_location": "L8"}, {"caller_nid": "lib_crypto_encrypt", "callee": "randomBytes", "is_member_call": true, "source_file": "/root/socialdesk/apps/worker/src/lib/crypto.mjs", "source_location": "L14"}, {"caller_nid": "lib_crypto_encrypt", "callee": "createCipheriv", "is_member_call": true, "source_file": "/root/socialdesk/apps/worker/src/lib/crypto.mjs", "source_location": "L16"}, {"caller_nid": "lib_crypto_encrypt", "callee": "update", "is_member_call": true, "source_file": "/root/socialdesk/apps/worker/src/lib/crypto.mjs", "source_location": "L18"}, {"caller_nid": "lib_crypto_encrypt", "callee": "final", "is_member_call": true, "source_file": "/root/socialdesk/apps/worker/src/lib/crypto.mjs", "source_location": "L19"}, {"caller_nid": "lib_crypto_encrypt", "callee": "toString", "is_member_call": true, "source_file": "/root/socialdesk/apps/worker/src/lib/crypto.mjs", "source_location": "L21"}, {"caller_nid": "lib_crypto_encrypt", "callee": "getAuthTag", "is_member_call": true, "source_file": "/root/socialdesk/apps/worker/src/lib/crypto.mjs", "source_location": "L21"}, {"caller_nid": "lib_crypto_encrypt", "callee": "toString", "is_member_call": true, "source_file": "/root/socialdesk/apps/worker/src/lib/crypto.mjs", "source_location": "L23"}, {"caller_nid": "lib_crypto_decrypt", "callee": "includes", "is_member_call": true, "source_file": "/root/socialdesk/apps/worker/src/lib/crypto.mjs", "source_location": "L31"}, {"caller_nid": "lib_crypto_decrypt", "callee": "split", "is_member_call": true, "source_file": "/root/socialdesk/apps/worker/src/lib/crypto.mjs", "source_location": "L31"}, {"caller_nid": "lib_crypto_decrypt", "callee": "split", "is_member_call": true, "source_file": "/root/socialdesk/apps/worker/src/lib/crypto.mjs", "source_location": "L36"}, {"caller_nid": "lib_crypto_decrypt", "callee": "from", "is_member_call": true, "source_file": "/root/socialdesk/apps/worker/src/lib/crypto.mjs", "source_location": "L39"}, {"caller_nid": "lib_crypto_decrypt", "callee": "from", "is_member_call": true, "source_file": "/root/socialdesk/apps/worker/src/lib/crypto.mjs", "source_location": "L40"}, {"caller_nid": "lib_crypto_decrypt", "callee": "createDecipheriv", "is_member_call": true, "source_file": "/root/socialdesk/apps/worker/src/lib/crypto.mjs", "source_location": "L43"}, {"caller_nid": "lib_crypto_decrypt", "callee": "setAuthTag", "is_member_call": true, "source_file": "/root/socialdesk/apps/worker/src/lib/crypto.mjs", "source_location": "L44"}, {"caller_nid": "lib_crypto_decrypt", "callee": "update", "is_member_call": true, "source_file": "/root/socialdesk/apps/worker/src/lib/crypto.mjs", "source_location": "L46"}, {"caller_nid": "lib_crypto_decrypt", "callee": "final", "is_member_call": true, "source_file": "/root/socialdesk/apps/worker/src/lib/crypto.mjs", "source_location": "L47"}]}