How to Create SHA1 using Base64/Binary

Hi,
I have doubt how to create SHA1 using Base64/Binary

Hey @AMS_KHADHIRI, welcome to the community!

In general you can use the Crypto node to calculate hash values, but it doesn’t support SHA1 values at the moment.

So until support for SHA1 has been implemented you could consider using the Execute Command node to calculate the value outside of n8n by using a command like sha1sum filename.bin (assuming this is supported by your operating system).

I would assume that since Execute Command is not available in the n8n cloud that it’s not possible to calculate SHA1 hash values on the n8n cloud, then? I tried importing several npm nodes from the function with no luck as well

1 Like