We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4050656 commit 3c362f1Copy full SHA for 3c362f1
1 file changed
backend/lambda_handler.py
@@ -4899,7 +4899,7 @@ def _build_component_analysis_id(
4899
instruction: str,
4900
component_data_json: str,
4901
) -> str:
4902
- digest = hashlib.sha1(
+ digest = hashlib.sha256(
4903
f"{source_block_id}|{component_type}|{action}|{instruction}|{component_data_json}".encode("utf-8")
4904
).hexdigest()
4905
return f"analysis_{digest[:20]}"
0 commit comments