How can I create a SHA-1 message digest from a string?
I am currently trying to interface with an external API which requires me to send over a SHA1 message digest. I understand that currently, the SHA1 message function in Workato's formula mode is not currently available.
As such, would it be possible for me to make use of an external website to generate the SHA1 message digest and bring that into Workato? Any help would be much appreciated.
Best Answer
B
Bryan Yap
said
about 7 years ago
Hi Saul,
Great question. We recently solved this issue for a client using the following strategy.
Sending a HTTP POST (with our string within the request body) to an external website which is able to generate SHA1 hashes for us (e.g. http://www.sha1.cz)
Parsing the response and extracting the hexadecimal encoded SHA1 hash. For this step, you'll need to inspect the response that the website returns to decide on how to extract the relevant data.
Great question. We recently solved this issue for a client using the following strategy.
Sending a HTTP POST (with our string within the request body) to an external website which is able to generate SHA1 hashes for us (e.g. http://www.sha1.cz)
Parsing the response and extracting the hexadecimal encoded SHA1 hash. For this step, you'll need to inspect the response that the website returns to decide on how to extract the relevant data.
Saul Macht
How can I create a SHA-1 message digest from a string?
I am currently trying to interface with an external API which requires me to send over a SHA1 message digest. I understand that currently, the SHA1 message function in Workato's formula mode is not currently available.
As such, would it be possible for me to make use of an external website to generate the SHA1 message digest and bring that into Workato? Any help would be much appreciated.
Hi Saul,
Great question. We recently solved this issue for a client using the following strategy.
Bryan Yap
Hi Saul,
Great question. We recently solved this issue for a client using the following strategy.