I used the Get File from AWS S3 Buckets and it seems the Data is SHA1 encrypted. How to I decrypt or get the actual file converted to be used?
There is an encoding issue when downloading certain files.
I have mentioned more details, and a possible workaround for this here: Read text in .txt file stored in google drive - #4 by samliew
You can try using a “Convert encoding” module using the same input and output encoding, then you can use the output of this module in a subsequent module (like Parse CSV or JSON).
Alternatively, you can simply try using the toString
built-in function in the mapped field, something like this: toString(data)
– however this method doesn’t work in some cases where the encoding actually has to be converted.
Then, to decrypt SHA text, you can use the built-in functions sha256
or sha512
– you’ll have to know which “level” it was encrypted with, or you can try both to see which works.
{{ sha512(toString( data )) }}
Ok, will give those a try!
Thanks @samliew
Just wanted to give an update that This is what worked with a .json file being read from the Amazon S3 Server. Using the Convert the encoding of a text.
No problem, glad I could help!
In future, please create a new thread for each question. This makes it easier for others with the same problem to search for the answer. Thank you for your cooperation!
The Make Community guidelines encourages users to try to mark helpful replies as solutions to help keep the Community organized.
This marks the topic as solved, so that:
- others can save time when catching up with the latest activity here, and
- allows others to quickly jump to the solution if they come across the same problem
To do this, simply click the checkbox at the bottom of the post that answers your question:
Thanks…I’m a bit confused…You said create anew thread for each question. I thought I only had one question in this post/thread?
Oh, sorry for the confusion. This is to notify other users - if there’s a new question in future, to start a new thread instead of posting below.