Unable to decrypt password2 value using GlideEncrypter() in scoped application.
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-08-2019 02:49 AM
We are trying to decrypt password2 value and found out that below code fails in scoped app.
var Encrypter = new GlideEncrypter();
var decrypted_password = Encrypter.decrypt(inputs.password);
Further we tried with below one and no go.
var decrypt = pwd.getDecryptedvalue();
Any help here please?
Labels:
- Labels:
-
Scripting and Coding
6 REPLIES 6

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-09-2019 07:40 AM
It won't work since u_test_password is in global scope.
Regards,
Sachin

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-09-2019 01:10 PM
Mansing:
Try this:
var decrypt = inputs.password.getDecryptedValue();
This works fine in scope.
See if that works for you.
Steven.