• Documentation
  • Workato Blog
  • Product Blog
  • Return to Workato
  • Login
  • Automation Institute
  • Documentation
  • Community Forums
New Topic
Discussions Recipe Building Recipe Building Questions
S

Saul Macht

started a topic over 5 years ago
Answered

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 over 5 years ago

Hi Saul,


Great question. We recently solved this issue for a client using the following strategy.

  1. 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)image
  2. 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.image
For more details, the recipe can be viewed at https://www.workato.com/recipes/614733.


Answer

Bryan Yap

said over 5 years ago

Hi Saul,


Great question. We recently solved this issue for a client using the following strategy.

  1. 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)image
  2. 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.image
For more details, the recipe can be viewed at https://www.workato.com/recipes/614733.


Login to post a comment

Still can't find your solution?

Send us a ticket, we will try our best to assist you with your problem

Documentation
Developer's Library
Tutorials
eBooks
Product Hour
Product Blog
Workato Blog
Product updates
Customer Stories
© Workato 2022   Privacy   Terms   +1 (844) 469-6752
  • Documentation
  • Workato Blog
  • Product Blog
  • Solutions
  • Forums
  • Tickets
  • Log in
  • Return to Workato
Topic views count