We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2523bee commit a5b8c4aCopy full SHA for a5b8c4a
src/lambda/chat_with_document_resolver/index.py
@@ -68,7 +68,7 @@ def handler(event, context):
68
# Call Bedrock Runtime to get Python code based on the prompt
69
if (len(objectKey)):
70
encoded_string = objectKey.encode()
71
- md5_hash = hashlib.md5(encoded_string)
+ md5_hash = hashlib.md5(encoded_string, usedforsecurity=False)
72
hex_representation = md5_hash.hexdigest()
73
74
# full text key
0 commit comments