Alternative to GlideEncrypter API
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-11-2024 09:30 PM
I have an existing piece of code like the below and where the encrypted string is passed on to a workflow scratchpad. Could anyone please help with the best alternative here.
I have gone through the article (https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB1320986) and wondering if KMF is the only way or there are easier ways to this:
var clearString = 'abcd';
var encr = new GlideEncrypter();
var encrString = encr.encrypt(clearString);
workflow.scratchpad.encr = encrString;
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-13-2024 03:58 PM
@daisybora Did you find any solutions that work?