Skip to content

Commit b57469b

Browse files
fix - use sha256 instead of md5 (#1440)
1 parent 80c6838 commit b57469b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/copilot/inspect/SymbolNode.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ export class SymbolNode {
4646
*/
4747
private static calculateSymbolSnapshotId(document: TextDocument, symbol: DocumentSymbol): string {
4848
const body = document.getText(symbol.range);
49-
return crypto.createHash('md5').update(body).digest("hex")
49+
return crypto.createHash('sha256').update(body).digest("hex")
5050
}
5151

5252
public toString(): string {

0 commit comments

Comments
 (0)