Feature request: Custom Config - Function to use for calculating hashes #1301
Labels
completed
This item is complete and has been merged/shipped
feature-request
This item refers to a feature request for an existing or new utility
idempotency
This item relates to the Idempotency Utility
Milestone
Use case
When making their functions idempotent, customers need to be able to specify an algorithm that is used by the Idempotency utility to generate an hash of a given payload. This is done via an option passed to
IdempotencyConfig
during initialization.Solution/User Experience
The value of
hashFunction
can be any of the values accepted by thecreateHash
function that is part ofnode:crypto
. Some values aremd5
(default),sha256
,sha512
, and the full list depends on the OpenSSL version present in the execution environment.Alternative solutions
No response
Acknowledgment
The text was updated successfully, but these errors were encountered: