We're reclaiming inactive PDIs to keep them available for active builders. Learn what's changing, who's affected, and how to protect your work. Read More

GlideEncrypter API will be deprecated after Vancouver release, please suggest some Alternatives ?

Dev Bisht
Tera Contributor

As GlideEncrypter API will be deprecated after Vancouver release, we are looking for a long term solution to encrypt/decrypt data over web service. Please suggest

How can we achieve Key/token based encryption between ServiceNow and other tools ?I.e. any alternative approach ServiceNow can suggest to encrypt data over a web service and send it to third party tool and upon receiving data can we decrypt on the same way.

2 REPLIES 2

Harsh_Deep
Giga Sage

Hello @Dev Bisht 

 

you can refer this -

var gc = global.GlideCryptoModule.getModule('global.acme_mod');
var value = 'test';
var encrypted = gc.encryptData(value);
gs.info('Encrypted: ' + encrypted);
gs.info('value: ' + value);

 

And refer this docs -

https://docs.servicenow.com/bundle/vancouver-platform-security/page/administer/key-management-framew...

 

Mark Correct if this solves your issue and also mark 👍 Helpful if you find my response worthy based on the impact.

Ankur Bawiskar
Tera Patron

@Dev Bisht 

did you check docs for the alternative?

 

Regards,
Ankur
Certified Technical Architect  ||  10x ServiceNow MVP  ||  ServiceNow Community Leader