{"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": "L27"}, {"id": "$graphify-root$_internal_crypto_crypto_loadmasterkey", "label": "LoadMasterKey()", "file_type": "code", "source_file": "internal/crypto/crypto.go", "source_location": "L33"}, {"id": "$graphify-root$_internal_crypto_crypto_decodekey", "label": "decodeKey()", "file_type": "code", "source_file": "internal/crypto/crypto.go", "source_location": "L49"}, {"id": "$graphify-root$_internal_crypto_crypto_derivekey", "label": "deriveKey()", "file_type": "code", "source_file": "internal/crypto/crypto.go", "source_location": "L64"}, {"id": "$graphify-root$_internal_crypto_crypto_encrypt", "label": "Encrypt()", "file_type": "code", "source_file": "internal/crypto/crypto.go", "source_location": "L78"}, {"id": "$graphify-root$_internal_crypto_crypto_decrypt", "label": "Decrypt()", "file_type": "code", "source_file": "internal/crypto/crypto.go", "source_location": "L107"}, {"id": "$graphify-root$_internal_crypto_crypto_decryptwith", "label": "decryptWith()", "file_type": "code", "source_file": "internal/crypto/crypto.go", "source_location": "L127"}, {"id": "$graphify-root$_internal_crypto_crypto_needsreencryption", "label": "NeedsReencryption()", "file_type": "code", "source_file": "internal/crypto/crypto.go", "source_location": "L146"}, {"id": "$graphify-root$_internal_crypto_crypto_generatemasterkeyhex", "label": "GenerateMasterKeyHex()", "file_type": "code", "source_file": "internal/crypto/crypto.go", "source_location": "L160"}], "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_golang_org_x_crypto_hkdf", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "internal/crypto/crypto.go", "source_location": "L16", "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": "L27", "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": "L33", "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": "L33", "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": "L49", "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": "L64", "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": "L78", "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": "L78", "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": "L107", "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": "L107", "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": "L127", "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": "L146", "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": "L146", "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": "L160", "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": "L34", "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": "L79", "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": "L113", "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": "L128", "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": "L151", "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": "L36"}, {"caller_nid": "$graphify-root$_internal_crypto_crypto_loadmasterkey", "callee": "Errorf", "is_member_call": false, "language": "go", "source_file": "internal/crypto/crypto.go", "source_location": "L42"}, {"caller_nid": "$graphify-root$_internal_crypto_crypto_decodekey", "callee": "DecodeString", "is_member_call": false, "language": "go", "source_file": "internal/crypto/crypto.go", "source_location": "L50"}, {"caller_nid": "$graphify-root$_internal_crypto_crypto_decodekey", "callee": "Errorf", "is_member_call": false, "language": "go", "source_file": "internal/crypto/crypto.go", "source_location": "L52"}, {"caller_nid": "$graphify-root$_internal_crypto_crypto_decodekey", "callee": "Errorf", "is_member_call": false, "language": "go", "source_file": "internal/crypto/crypto.go", "source_location": "L55"}, {"caller_nid": "$graphify-root$_internal_crypto_crypto_derivekey", "callee": "New", "is_member_call": false, "language": "go", "source_file": "internal/crypto/crypto.go", "source_location": "L66"}, {"caller_nid": "$graphify-root$_internal_crypto_crypto_derivekey", "callee": "ReadFull", "is_member_call": false, "language": "go", "source_file": "internal/crypto/crypto.go", "source_location": "L68"}, {"caller_nid": "$graphify-root$_internal_crypto_crypto_derivekey", "callee": "Errorf", "is_member_call": false, "language": "go", "source_file": "internal/crypto/crypto.go", "source_location": "L69"}, {"caller_nid": "$graphify-root$_internal_crypto_crypto_encrypt", "callee": "NewCipher", "is_member_call": false, "language": "go", "source_file": "internal/crypto/crypto.go", "source_location": "L84"}, {"caller_nid": "$graphify-root$_internal_crypto_crypto_encrypt", "callee": "Errorf", "is_member_call": false, "language": "go", "source_file": "internal/crypto/crypto.go", "source_location": "L86"}, {"caller_nid": "$graphify-root$_internal_crypto_crypto_encrypt", "callee": "NewGCM", "is_member_call": false, "language": "go", "source_file": "internal/crypto/crypto.go", "source_location": "L88"}, {"caller_nid": "$graphify-root$_internal_crypto_crypto_encrypt", "callee": "Errorf", "is_member_call": false, "language": "go", "source_file": "internal/crypto/crypto.go", "source_location": "L90"}, {"caller_nid": "$graphify-root$_internal_crypto_crypto_encrypt", "callee": "Read", "is_member_call": false, "language": "go", "source_file": "internal/crypto/crypto.go", "source_location": "L94"}, {"caller_nid": "$graphify-root$_internal_crypto_crypto_encrypt", "callee": "Errorf", "is_member_call": false, "language": "go", "source_file": "internal/crypto/crypto.go", "source_location": "L95"}, {"caller_nid": "$graphify-root$_internal_crypto_crypto_encrypt", "callee": "Seal", "is_member_call": true, "language": "go", "source_file": "internal/crypto/crypto.go", "source_location": "L98"}, {"caller_nid": "$graphify-root$_internal_crypto_crypto_decrypt", "callee": "Errorf", "is_member_call": false, "language": "go", "source_file": "internal/crypto/crypto.go", "source_location": "L109"}, {"caller_nid": "$graphify-root$_internal_crypto_crypto_decrypt", "callee": "Errorf", "is_member_call": false, "language": "go", "source_file": "internal/crypto/crypto.go", "source_location": "L123"}, {"caller_nid": "$graphify-root$_internal_crypto_crypto_decryptwith", "callee": "NewCipher", "is_member_call": false, "language": "go", "source_file": "internal/crypto/crypto.go", "source_location": "L132"}, {"caller_nid": "$graphify-root$_internal_crypto_crypto_decryptwith", "callee": "NewGCM", "is_member_call": false, "language": "go", "source_file": "internal/crypto/crypto.go", "source_location": "L136"}, {"caller_nid": "$graphify-root$_internal_crypto_crypto_decryptwith", "callee": "Open", "is_member_call": true, "language": "go", "source_file": "internal/crypto/crypto.go", "source_location": "L140"}, {"caller_nid": "$graphify-root$_internal_crypto_crypto_generatemasterkeyhex", "callee": "Read", "is_member_call": false, "language": "go", "source_file": "internal/crypto/crypto.go", "source_location": "L162"}, {"caller_nid": "$graphify-root$_internal_crypto_crypto_generatemasterkeyhex", "callee": "EncodeToString", "is_member_call": false, "language": "go", "source_file": "internal/crypto/crypto.go", "source_location": "L165"}]}