RSA Encryption required to encrypt sting field value

Community Alums
Not applicable

We have been given an RSA public key and we need to encrypt a given string field value using RSA encryption before passing it on to the tool using POST.

1 ACCEPTED SOLUTION

Community Alums
Not applicable

I have done it by using JSEncrypt. If anyone is interested to know how I have done it, Please feel free to comment or reach out.

 

Regards,

Varun

View solution in original post

8 REPLIES 8

Community Alums
Not applicable

I have done it by using JSEncrypt. If anyone is interested to know how I have done it, Please feel free to comment or reach out.

 

Regards,

Varun

Could you please share the code you implemented in the ui script?
I would appreciate it if you could also share an example.
ServiceNow itself does not provide RSA encryption.
I am having a hard time.

Tae Kyung Lee
Tera Expert

Hello, gupta.

I'm trying to convert JSEncrypt to script include.

Can you share your solution to me?

 

Community Alums
Not applicable

is it for Global or Scopped Application?