Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-13-2018 01:55 PM
I am using below code to encrypt string but it is not supported in service now I guess.
var encrypted = CryptoJS.AES.encrypt(myString, myPassword);
Is there any method encrypt the string in service now ?
Regards,
Sajan
Solved! Go to Solution.
Labels:
- Labels:
-
Integrations
-
Scripting and Coding
1 ACCEPTED SOLUTION
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-20-2018 01:20 PM
I have used below code for my req
var mac = new GlideCertificateEncryption;
mac.generateMac("sample_key", "HmacSHA256", "sample_data");
Thanks,
Sajan
5 REPLIES 5
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-27-2020 10:56 AM