Skip to content

Commit

Permalink
fix: use SHA256 for default checksum algorithm
Browse files Browse the repository at this point in the history
  • Loading branch information
trivikr committed Sep 20, 2024
1 parent 17656ba commit 28c1222
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/middleware-flexible-checksums/src/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ export const DEFAULT_RESPONSE_CHECKSUM_VALIDATION = RequestChecksumCalculation.W
*/
export enum ChecksumAlgorithm {
/**
* @deprecated Use {@link ChecksumAlgorithm.CRC32} instead.
* @deprecated Use {@link ChecksumAlgorithm.SHA256} instead.
*/
MD5 = "MD5",
CRC32 = "CRC32",
Expand All @@ -73,7 +73,7 @@ export enum ChecksumLocation {
/**
* @internal
*/
export const DEFAULT_CHECKSUM_ALGORITHM = ChecksumAlgorithm.CRC32;
export const DEFAULT_CHECKSUM_ALGORITHM = ChecksumAlgorithm.SHA256;

/**
* @internal
Expand Down

0 comments on commit 28c1222

Please sign in to comment.