diff --git a/aws-sam-cli-main/samcli/lib/utils/hash.py b/aws-sam-cli-main/samcli/lib/utils/hash.py index a9cbae1..41dd8c9 100644 --- a/aws-sam-cli-main/samcli/lib/utils/hash.py +++ b/aws-sam-cli-main/samcli/lib/utils/hash.py @@ -21,8 +21,7 @@ def file_checksum(file_name: str) -> str: """ with open(file_name, "rb") as file_handle: - md5 = hashlib.md5() - + md5 = hashlib.sha256() # Save current cursor position and reset cursor to start of file curpos = file_handle.tell() file_handle.seek(0)