Need to encrypt decrypt password
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-05-2024 03:58 AM - edited 08-05-2024 03:59 AM
Hello developers, i Need to encrypt decrypt password which is of password2 type using glide element.as glide encrypter is depricated.Any help is appreciated, Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-05-2024 04:21 AM
Hi @servicenow14710 ,
Have you tried using this method:
https://developer.servicenow.com/dev.do#!/reference/api/xanadu/server_legacy/GlideEncrypterAPI#Glide...
I hope this helps.
Thanks
Jake
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-05-2024 04:23 AM - edited 08-05-2024 04:23 AM
yes but its showing finding while scanning update set as glide encrypter is deprecated, Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-05-2024 04:27 AM
This KB article shows alternatives for encryption and decryption.
https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB1320986
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-05-2024 04:48 AM
Are you storing the password in password2 type system property ? If yes, you can decrypt it using
var password = gs.getProperty('name of your sys property);
Thanks and Regards
Amit Verma
Please mark this response as correct and helpful if it assisted you with your question.