Computing checksum using S3.getObject() #4149
-
Hi I'm looking to compute the sha256 checksum of an image file located in S3 without writing it to disk. I have tried the code below:
The value of I also tried using
still the sha256 is different. I think maybe I need to use |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
I eventually got the solution here by using a read stream instead of the promise version of getObject:
|
Beta Was this translation helpful? Give feedback.
-
Hello! Reopening this discussion to make it searchable. |
Beta Was this translation helpful? Give feedback.
I eventually got the solution here by using a read stream instead of the promise version of getObject: