# messageSignature algorithme

**URL:** <https://community.postman.com/t/messagesignature-algorithme/29095>\
**Category:** Help Hub\
**Tags:** scripts, authentication, encryption, pre-request-script\
**Created:** [October 26, 2021, 10:42am UTC](https://community.postman.com/t/messagesignature-algorithme/29095 "2021-10-26T10:42:21Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![alain-iss](https://avatars.discourse-cdn.com/v4/letter/a/94ad74/32.png) [@alain-iss](https://community.postman.com/u/alain-iss)\
**Post date:** [October 26, 2021, 10:42am UTC](https://community.postman.com/t/messagesignature-algorithme/29095/1 "2021-10-26T10:42:22Z")

</div>

I need to generate a signature message, encrypted using sha256 in pre-request sctipt, with those data:

messageSignature: apikey+studentId+timeStamp encrypted using sha256

can i get the algorithme of sha256 to generate a messageSignature.
