Skip to content

Commit 28c1222

Browse files
committed
fix: use SHA256 for default checksum algorithm
1 parent 17656ba commit 28c1222

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/middleware-flexible-checksums/src/constants.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ export const DEFAULT_RESPONSE_CHECKSUM_VALIDATION = RequestChecksumCalculation.W
5353
*/
5454
export enum ChecksumAlgorithm {
5555
/**
56-
* @deprecated Use {@link ChecksumAlgorithm.CRC32} instead.
56+
* @deprecated Use {@link ChecksumAlgorithm.SHA256} instead.
5757
*/
5858
MD5 = "MD5",
5959
CRC32 = "CRC32",
@@ -73,7 +73,7 @@ export enum ChecksumLocation {
7373
/**
7474
* @internal
7575
*/
76-
export const DEFAULT_CHECKSUM_ALGORITHM = ChecksumAlgorithm.CRC32;
76+
export const DEFAULT_CHECKSUM_ALGORITHM = ChecksumAlgorithm.SHA256;
7777

7878
/**
7979
* @internal

0 commit comments

Comments
 (0)