Skip to content

Commit

Permalink
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions packages/middleware-flexible-checksums/src/types.ts
Original file line number Diff line number Diff line change
@@ -12,11 +12,10 @@ export const CLIENT_SUPPORTED_ALGORITHMS = [

/**
* Priority order for validating checksum algorithm. A faster algorithm has higher priority.
* ToDo: update the priority order based on profiling of JavaScript implementations.
*/
export const PRIORITY_ORDER_ALGORITHMS = [
ChecksumAlgorithm.SHA256,
ChecksumAlgorithm.SHA1,
ChecksumAlgorithm.CRC32,
ChecksumAlgorithm.CRC32C,
ChecksumAlgorithm.SHA1,
ChecksumAlgorithm.SHA256,
];

0 comments on commit 70db983

Please sign in to comment.