# Can not calculate the right sha1 checksum to the file from pm.sendRequest response

**URL:** <https://community.postman.com/t/can-not-calculate-the-right-sha1-checksum-to-the-file-from-pm-sendrequest-response/38846>\
**Category:** Help Hub\
**Created:** [September 5, 2022, 9:42am UTC](https://community.postman.com/t/can-not-calculate-the-right-sha1-checksum-to-the-file-from-pm-sendrequest-response/38846 "2022-09-05T09:42:05Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![micro992](https://avatars.discourse-cdn.com/v4/letter/m/f14d63/32.png) [@micro992](https://community.postman.com/u/micro992)\
**Post date:** [September 5, 2022, 9:42am UTC](https://community.postman.com/t/can-not-calculate-the-right-sha1-checksum-to-the-file-from-pm-sendrequest-response/38846/1 "2022-09-05T09:42:05Z")

</div>

_My question_:  
I want to get the file’s sha1 from postman’s pre-request script, but get the wrong result all the time.

_Details (like screenshots)_:

 ![image](https://us1.discourse-cdn.com/getpostman/original/2X/0/027698dd23891cf255f981e074aa963683f0d6f7.png)  
 ![image](https://us1.discourse-cdn.com/getpostman/original/2X/3/3d78e27d1e83622ba9d63dc499dff445b9858759.png)

The result from postman is ‘3adcb668d79fdb661d44722baea18a712cfcb8a2’, and the result from other tools is ‘6b56023928e22d703a6803a152da99838aae4140’, they are not same.

---

<div class="post-metadata">

**Author:** ![lunar-module-operat6](https://avatars.discourse-cdn.com/v4/letter/l/c57346/32.png) [@lunar-module-operat6](https://community.postman.com/u/lunar-module-operat6)\
**Post date:** [November 17, 2022, 8:29am UTC](https://community.postman.com/t/can-not-calculate-the-right-sha1-checksum-to-the-file-from-pm-sendrequest-response/38846/2 "2022-11-17T08:29:12Z")

</div>

You can also try online checksum tools [https://md5-checksum.com](https://md5-checksum.com/) ,support md5, sha256, sha1 🙂
