{"nodes": [{"id": "$graphify-root$_internal_crypto_crypto_go", "label": "crypto.go", "file_type": "code", "source_file": "internal/crypto/crypto.go", "source_location": "L1"}, {"id": "crypto_masterkey", "label": "MasterKey", "file_type": "code", "source_file": "internal/crypto/crypto.go", "source_location": "L28"}, {"id": "$graphify-root$_internal_crypto_crypto_loadmasterkey", "label": "LoadMasterKey()", "file_type": "code", "source_file": "internal/crypto/crypto.go", "source_location": "L34"}, {"id": "$graphify-root$_internal_crypto_crypto_decodekey", "label": "decodeKey()", "file_type": "code", "source_file": "internal/crypto/crypto.go", "source_location": "L50"}, {"id": "crypto_keycachekey", "label": "keyCacheKey", "file_type": "code", "source_file": "internal/crypto/crypto.go", "source_location": "L74"}, {"id": "$graphify-root$_internal_crypto_crypto_derivekey", "label": "deriveKey()", "file_type": "code", "source_file": "internal/crypto/crypto.go", "source_location": "L84"}, {"id": "$graphify-root$_internal_crypto_crypto_encrypt", "label": "Encrypt()", "file_type": "code", "source_file": "internal/crypto/crypto.go", "source_location": "L104"}, {"id": "$graphify-root$_internal_crypto_crypto_decrypt", "label": "Decrypt()", "file_type": "code", "source_file": "internal/crypto/crypto.go", "source_location": "L133"}, {"id": "$graphify-root$_internal_crypto_crypto_decryptwith", "label": "decryptWith()", "file_type": "code", "source_file": "internal/crypto/crypto.go", "source_location": "L153"}, {"id": "$graphify-root$_internal_crypto_crypto_needsreencryption", "label": "NeedsReencryption()", "file_type": "code", "source_file": "internal/crypto/crypto.go", "source_location": "L172"}, {"id": "$graphify-root$_internal_crypto_crypto_generatemasterkeyhex", "label": "GenerateMasterKeyHex()", "file_type": "code", "source_file": "internal/crypto/crypto.go", "source_location": "L186"}], "edges": [{"source": "$graphify-root$_internal_crypto_crypto_go", "target": "go_pkg_crypto_aes", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "internal/crypto/crypto.go", "source_location": "L8", "weight": 1.0, "context": "import"}, {"source": "$graphify-root$_internal_crypto_crypto_go", "target": "go_pkg_crypto_cipher", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "internal/crypto/crypto.go", "source_location": "L9", "weight": 1.0, "context": "import"}, {"source": "$graphify-root$_internal_crypto_crypto_go", "target": "go_pkg_crypto_rand", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "internal/crypto/crypto.go", "source_location": "L10", "weight": 1.0, "context": "import"}, {"source": "$graphify-root$_internal_crypto_crypto_go", "target": "go_pkg_crypto_sha256", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "internal/crypto/crypto.go", "source_location": "L11", "weight": 1.0, "context": "import"}, {"source": "$graphify-root$_internal_crypto_crypto_go", "target": "go_pkg_encoding_hex", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "internal/crypto/crypto.go", "source_location": "L12", "weight": 1.0, "context": "import"}, {"source": "$graphify-root$_internal_crypto_crypto_go", "target": "go_pkg_fmt", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "internal/crypto/crypto.go", "source_location": "L13", "weight": 1.0, "context": "import"}, {"source": "$graphify-root$_internal_crypto_crypto_go", "target": "go_pkg_io", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "internal/crypto/crypto.go", "source_location": "L14", "weight": 1.0, "context": "import"}, {"source": "$graphify-root$_internal_crypto_crypto_go", "target": "go_pkg_sync", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "internal/crypto/crypto.go", "source_location": "L15", "weight": 1.0, "context": "import"}, {"source": "$graphify-root$_internal_crypto_crypto_go", "target": "go_pkg_golang_org_x_crypto_hkdf", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "internal/crypto/crypto.go", "source_location": "L17", "weight": 1.0, "context": "import"}, {"source": "$graphify-root$_internal_crypto_crypto_go", "target": "crypto_masterkey", "relation": "contains", "confidence": "EXTRACTED", "source_file": "internal/crypto/crypto.go", "source_location": "L28", "weight": 1.0}, {"source": "$graphify-root$_internal_crypto_crypto_go", "target": "$graphify-root$_internal_crypto_crypto_loadmasterkey", "relation": "contains", "confidence": "EXTRACTED", "source_file": "internal/crypto/crypto.go", "source_location": "L34", "weight": 1.0}, {"source": "$graphify-root$_internal_crypto_crypto_loadmasterkey", "target": "crypto_masterkey", "relation": "references", "confidence": "EXTRACTED", "source_file": "internal/crypto/crypto.go", "source_location": "L34", "weight": 1.0, "context": "return_type"}, {"source": "$graphify-root$_internal_crypto_crypto_go", "target": "$graphify-root$_internal_crypto_crypto_decodekey", "relation": "contains", "confidence": "EXTRACTED", "source_file": "internal/crypto/crypto.go", "source_location": "L50", "weight": 1.0}, {"source": "$graphify-root$_internal_crypto_crypto_go", "target": "crypto_keycachekey", "relation": "contains", "confidence": "EXTRACTED", "source_file": "internal/crypto/crypto.go", "source_location": "L74", "weight": 1.0}, {"source": "$graphify-root$_internal_crypto_crypto_go", "target": "$graphify-root$_internal_crypto_crypto_derivekey", "relation": "contains", "confidence": "EXTRACTED", "source_file": "internal/crypto/crypto.go", "source_location": "L84", "weight": 1.0}, {"source": "$graphify-root$_internal_crypto_crypto_go", "target": "$graphify-root$_internal_crypto_crypto_encrypt", "relation": "contains", "confidence": "EXTRACTED", "source_file": "internal/crypto/crypto.go", "source_location": "L104", "weight": 1.0}, {"source": "$graphify-root$_internal_crypto_crypto_encrypt", "target": "crypto_masterkey", "relation": "references", "confidence": "EXTRACTED", "source_file": "internal/crypto/crypto.go", "source_location": "L104", "weight": 1.0, "context": "parameter_type"}, {"source": "$graphify-root$_internal_crypto_crypto_go", "target": "$graphify-root$_internal_crypto_crypto_decrypt", "relation": "contains", "confidence": "EXTRACTED", "source_file": "internal/crypto/crypto.go", "source_location": "L133", "weight": 1.0}, {"source": "$graphify-root$_internal_crypto_crypto_decrypt", "target": "crypto_masterkey", "relation": "references", "confidence": "EXTRACTED", "source_file": "internal/crypto/crypto.go", "source_location": "L133", "weight": 1.0, "context": "parameter_type"}, {"source": "$graphify-root$_internal_crypto_crypto_go", "target": "$graphify-root$_internal_crypto_crypto_decryptwith", "relation": "contains", "confidence": "EXTRACTED", "source_file": "internal/crypto/crypto.go", "source_location": "L153", "weight": 1.0}, {"source": "$graphify-root$_internal_crypto_crypto_go", "target": "$graphify-root$_internal_crypto_crypto_needsreencryption", "relation": "contains", "confidence": "EXTRACTED", "source_file": "internal/crypto/crypto.go", "source_location": "L172", "weight": 1.0}, {"source": "$graphify-root$_internal_crypto_crypto_needsreencryption", "target": "crypto_masterkey", "relation": "references", "confidence": "EXTRACTED", "source_file": "internal/crypto/crypto.go", "source_location": "L172", "weight": 1.0, "context": "parameter_type"}, {"source": "$graphify-root$_internal_crypto_crypto_go", "target": "$graphify-root$_internal_crypto_crypto_generatemasterkeyhex", "relation": "contains", "confidence": "EXTRACTED", "source_file": "internal/crypto/crypto.go", "source_location": "L186", "weight": 1.0}, {"source": "$graphify-root$_internal_crypto_crypto_loadmasterkey", "target": "$graphify-root$_internal_crypto_crypto_decodekey", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "internal/crypto/crypto.go", "source_location": "L35", "weight": 1.0}, {"source": "$graphify-root$_internal_crypto_crypto_encrypt", "target": "$graphify-root$_internal_crypto_crypto_derivekey", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "internal/crypto/crypto.go", "source_location": "L105", "weight": 1.0}, {"source": "$graphify-root$_internal_crypto_crypto_decrypt", "target": "$graphify-root$_internal_crypto_crypto_decryptwith", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "internal/crypto/crypto.go", "source_location": "L139", "weight": 1.0}, {"source": "$graphify-root$_internal_crypto_crypto_decryptwith", "target": "$graphify-root$_internal_crypto_crypto_derivekey", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "internal/crypto/crypto.go", "source_location": "L154", "weight": 1.0}, {"source": "$graphify-root$_internal_crypto_crypto_needsreencryption", "target": "$graphify-root$_internal_crypto_crypto_decryptwith", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "internal/crypto/crypto.go", "source_location": "L177", "weight": 1.0}], "raw_calls": [{"caller_nid": "$graphify-root$_internal_crypto_crypto_loadmasterkey", "callee": "Errorf", "is_member_call": false, "language": "go", "source_file": "internal/crypto/crypto.go", "source_location": "L37"}, {"caller_nid": "$graphify-root$_internal_crypto_crypto_loadmasterkey", "callee": "Errorf", "is_member_call": false, "language": "go", "source_file": "internal/crypto/crypto.go", "source_location": "L43"}, {"caller_nid": "$graphify-root$_internal_crypto_crypto_decodekey", "callee": "DecodeString", "is_member_call": false, "language": "go", "source_file": "internal/crypto/crypto.go", "source_location": "L51"}, {"caller_nid": "$graphify-root$_internal_crypto_crypto_decodekey", "callee": "Errorf", "is_member_call": false, "language": "go", "source_file": "internal/crypto/crypto.go", "source_location": "L53"}, {"caller_nid": "$graphify-root$_internal_crypto_crypto_decodekey", "callee": "Errorf", "is_member_call": false, "language": "go", "source_file": "internal/crypto/crypto.go", "source_location": "L56"}, {"caller_nid": "$graphify-root$_internal_crypto_crypto_derivekey", "callee": "string", "is_member_call": false, "language": "go", "source_file": "internal/crypto/crypto.go", "source_location": "L85"}, {"caller_nid": "$graphify-root$_internal_crypto_crypto_derivekey", "callee": "Load", "is_member_call": true, "language": "go", "source_file": "internal/crypto/crypto.go", "source_location": "L86"}, {"caller_nid": "$graphify-root$_internal_crypto_crypto_derivekey", "callee": "New", "is_member_call": false, "language": "go", "source_file": "internal/crypto/crypto.go", "source_location": "L91"}, {"caller_nid": "$graphify-root$_internal_crypto_crypto_derivekey", "callee": "ReadFull", "is_member_call": false, "language": "go", "source_file": "internal/crypto/crypto.go", "source_location": "L93"}, {"caller_nid": "$graphify-root$_internal_crypto_crypto_derivekey", "callee": "Errorf", "is_member_call": false, "language": "go", "source_file": "internal/crypto/crypto.go", "source_location": "L94"}, {"caller_nid": "$graphify-root$_internal_crypto_crypto_derivekey", "callee": "Store", "is_member_call": true, "language": "go", "source_file": "internal/crypto/crypto.go", "source_location": "L96"}, {"caller_nid": "$graphify-root$_internal_crypto_crypto_encrypt", "callee": "NewCipher", "is_member_call": false, "language": "go", "source_file": "internal/crypto/crypto.go", "source_location": "L110"}, {"caller_nid": "$graphify-root$_internal_crypto_crypto_encrypt", "callee": "Errorf", "is_member_call": false, "language": "go", "source_file": "internal/crypto/crypto.go", "source_location": "L112"}, {"caller_nid": "$graphify-root$_internal_crypto_crypto_encrypt", "callee": "NewGCM", "is_member_call": false, "language": "go", "source_file": "internal/crypto/crypto.go", "source_location": "L114"}, {"caller_nid": "$graphify-root$_internal_crypto_crypto_encrypt", "callee": "Errorf", "is_member_call": false, "language": "go", "source_file": "internal/crypto/crypto.go", "source_location": "L116"}, {"caller_nid": "$graphify-root$_internal_crypto_crypto_encrypt", "callee": "Read", "is_member_call": false, "language": "go", "source_file": "internal/crypto/crypto.go", "source_location": "L120"}, {"caller_nid": "$graphify-root$_internal_crypto_crypto_encrypt", "callee": "Errorf", "is_member_call": false, "language": "go", "source_file": "internal/crypto/crypto.go", "source_location": "L121"}, {"caller_nid": "$graphify-root$_internal_crypto_crypto_encrypt", "callee": "Seal", "is_member_call": true, "language": "go", "source_file": "internal/crypto/crypto.go", "source_location": "L124"}, {"caller_nid": "$graphify-root$_internal_crypto_crypto_decrypt", "callee": "Errorf", "is_member_call": false, "language": "go", "source_file": "internal/crypto/crypto.go", "source_location": "L135"}, {"caller_nid": "$graphify-root$_internal_crypto_crypto_decrypt", "callee": "Errorf", "is_member_call": false, "language": "go", "source_file": "internal/crypto/crypto.go", "source_location": "L149"}, {"caller_nid": "$graphify-root$_internal_crypto_crypto_decryptwith", "callee": "NewCipher", "is_member_call": false, "language": "go", "source_file": "internal/crypto/crypto.go", "source_location": "L158"}, {"caller_nid": "$graphify-root$_internal_crypto_crypto_decryptwith", "callee": "NewGCM", "is_member_call": false, "language": "go", "source_file": "internal/crypto/crypto.go", "source_location": "L162"}, {"caller_nid": "$graphify-root$_internal_crypto_crypto_decryptwith", "callee": "Open", "is_member_call": true, "language": "go", "source_file": "internal/crypto/crypto.go", "source_location": "L166"}, {"caller_nid": "$graphify-root$_internal_crypto_crypto_generatemasterkeyhex", "callee": "Read", "is_member_call": false, "language": "go", "source_file": "internal/crypto/crypto.go", "source_location": "L188"}, {"caller_nid": "$graphify-root$_internal_crypto_crypto_generatemasterkeyhex", "callee": "EncodeToString", "is_member_call": false, "language": "go", "source_file": "internal/crypto/crypto.go", "source_location": "L191"}]}