// ServiceNow

String Encryption and Decryption (encryption-decryption)

String Encryption and Decryption (encryption-decryption)

If you want to store plain texts or any data entered in the ServiceNow database by encrypting them, you can use the code below.

In this way, by ensuring data security, you can build more secure structures.

//  şifreleme şifre çözme +

var encr = new GlideEncrypter(); 
var clearString = 'abcdefg'; 
  gs.print('Text: ' + clearString);
var encrString = encr.encrypt(clearString);
  gs.print('Encrypted: ' + encrString);
var decrString = encr.decrypt(encrString);  
  gs.print("Decrypted: " + decrString);

//şifreleme şifre çözme +

// JOIN THE CONVERSATION

Share your experience

Bir sorunun, farklı bir çözümün veya eklemek istediğin bir notun var mı? Giriş yapmadan da yazabilirsin.

// KEEP READING

One more note.

All posts ↗︎