Decrypt Password2 field/string on the server side in scoped application.

akadu
Tera Contributor

Hi,
          We are trying to validate the data entered by the user on the form, for this we are making an API call to our server with the data entered by the user and checking the response.
We have created a Validate UI action which will validate the user entered data by sending the data to server side script using GlideAjax call. 
But on the server side we need the decrypted value for one password2 field. 
As we are working on a scoped application, we cannot use the Encrypter Class.
And as the data is not yet stored on the record, we are unable to use GlideRecord gr.<element>.getDecryptedValue().

Is there any other way by which we can decrypt the password2 field ?

0 REPLIES 0