My Oracle Support Banner

E-PC:Crypt Class Property Result Appends Linefeed (0xa0) To Result Of Encryption. (Doc ID 2740615.1)

Last updated on MAY 10, 2021

Applies to:

PeopleSoft Enterprise PT PeopleTools - Version 8.58 and later
Information in this document applies to any platform.


Crypt class property Result appends linefeed  to result of encryption.

The encrypt property, Result, of the Crypt class appends a line feed character to the results of encryption.

Added the following code on a Fieldchange event   
FieldChange event triggered by a button press:
 Local Crypt &crypt = CreateObject("Crypt");

&crypt.Open("BASE64 ENCODE");
&crypt.UpdateData("Hello world!");
&result = &crypt.Result;

MessageBox(%MsgStyle_OK, "", 0, 0, "result = %1", EncodeURL(&result));

Output is: result = SGVsbG8gd29ybGQh%0a (0,0)





To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.