# Is it possible to do an RSA-OAEP256 encryption in Javascript or Postman?

**URL:** <https://community.postman.com/t/is-it-possible-to-do-an-rsa-oaep256-encryption-in-javascript-or-postman/10129>\
**Category:** Help Hub\
**Created:** [January 16, 2020, 2:07pm UTC](https://community.postman.com/t/is-it-possible-to-do-an-rsa-oaep256-encryption-in-javascript-or-postman/10129 "2020-01-16T14:07:16Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![zachary.baker123](https://avatars.discourse-cdn.com/v4/letter/z/977dab/32.png) [@zachary.baker123](https://community.postman.com/u/zachary.baker123)\
**Post date:** [January 16, 2020, 2:07pm UTC](https://community.postman.com/t/is-it-possible-to-do-an-rsa-oaep256-encryption-in-javascript-or-postman/10129/1 "2020-01-16T14:07:16Z")

</div>

As stated in the title, I am looking into RSA encryptions and I am looking to encrypt a string in an RSA-OAEP256 encryption. What libraries or tools could I integrate into Postman to perform this kind of encryption?

---

<div class="post-metadata">

**Author:** ![arlem](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/arlem/32/3078_2.png) [@arlem](https://community.postman.com/u/arlem)\
**Post date:** [January 16, 2020, 2:38pm UTC](https://community.postman.com/t/is-it-possible-to-do-an-rsa-oaep256-encryption-in-javascript-or-postman/10129/2 "2020-01-16T14:38:16Z")

</div>

Hi @zachary.baker123,

Though `crypto-js` is available in the Postman sandbox, I don’t think it supports RSA at the moment.  
Another way to do it is to import your own library following the instructions in that post:

> [@Adding external libraries to postman](https://community.postman.com/t/adding-external-libraries-to-postman/1971):
>
> I have a customized node module for json validation, which i need to use it in my postman scripts but looks like postman only supports tv4. Does anyone have any idea what can be done in this case?

---

<div class="post-metadata">

**Author:** ![system](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/system/32/29796_2.png) [@system](https://community.postman.com/u/system)\
**Post date:** [December 12, 2024, 12:59pm UTC](https://community.postman.com/t/is-it-possible-to-do-an-rsa-oaep256-encryption-in-javascript-or-postman/10129/3 "2024-12-12T12:59:17Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
