We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6a1aa14 commit 70db983Copy full SHA for 70db983
packages/middleware-flexible-checksums/src/types.ts
@@ -12,11 +12,10 @@ export const CLIENT_SUPPORTED_ALGORITHMS = [
12
13
/**
14
* Priority order for validating checksum algorithm. A faster algorithm has higher priority.
15
- * ToDo: update the priority order based on profiling of JavaScript implementations.
16
*/
17
export const PRIORITY_ORDER_ALGORITHMS = [
+ ChecksumAlgorithm.SHA256,
18
+ ChecksumAlgorithm.SHA1,
19
ChecksumAlgorithm.CRC32,
20
ChecksumAlgorithm.CRC32C,
- ChecksumAlgorithm.SHA1,
21
- ChecksumAlgorithm.SHA256,
22
];
0 commit comments