The Zurich release has arrived! Interested in new features and functionalities? Click here for more

Amit Gujarathi
Giga Sage
Giga Sage

ServiceNow Introduction to GlideEncrypter API | GlideEncrypter API with the use case

Hi All,
I hope you're doing great.


In this video, We will be looking into the GlideEncrypter API.

  • GlideEncrypter API is a ServiceNow API to encrypt and decrypts the data.
  • The GlideEncrypter API uses the Triple-DES algorithm.
    • GlideEncrypter()
    • GlideEncrypter(String key)

It has two functions which are as given below :

  1. decrypt(String encrypted string): Decrypts a clear string using the Triple-DES algorithm.
  2. encrypt(String clearString): Encrypts a clear string using the Triple-DES algorithm.

Topics for the tutorials:

  • Introduction to the ServiceNow GlideEncrypter
  • Advantages of the GlideEncrypter API
  • Explanation of the functions encrypt function and decrypt functions
  • Explanation of use case
  • Demo

 

Please be sure to bookmark this article as well as mark it as Helpful if you thought it was helpful.

 

Regards,

Amit Gujarathi

Technomonk Youtube 

Amit Gujarathi Linkedin 

TheTechnomonk.com 

ServiceNow Community Amit Gujarathi 

Comments
bpolo
Tera Guru

Hi Amit 

As per the KB article KB1320986 , it seems that this functionality is being deprecated. Currently we are upgrading to Vancouver and are seeing an issue with GlideEncrypter code.

Please would you advise how we should best change this code so that we do not lose functionality:

                    this.addParameter("server_password", new GlideEncrypter().encrypt(ds.server_password.getDecryptedValue()));

Thanks!

 

Amit Gujarathi
Giga Sage
Giga Sage

I can see this API still supported on the vancouver docs . Can we please confirm on the same
https://docs.servicenow.com/csh?topicname=GlideEncrypterAPI.html&version=latest

bpolo
Tera Guru

Thanks very much for the information, Amit!

KV_Skanska
Tera Explorer

Hi folks,

@bpolo is correct. Read below.

ServiceNow offers alternative cryptographic solutions to the GlideEncrypter API. If you opt to use GlideEncrypter API after December 31, 2023, then please be aware of the following:
New instance installations and re-installations (zboots) will not be permitted to use the GlideEncrypter API upon upgrade to the Now Platform® Washington D.C. release, planned for March 2024.
Existing instances will not be permitted to use the GlideEncrypter API upon upgrade to the Now Platform® Xanadu release, planned for September 2024.


To work around this, here's what we need you to do

Review KB1320986 and the GlideEncrypter Product Documentation to determine usage and for migration guidance to the applicable replacement solution based on your current use case.

 

Please mark solution as helpful when you read the comment.

Version history
Last update:
‎07-10-2023 11:59 PM
Updated by:
Contributors