Internal Algorithms

Support for the following algorithms is provided by the PeopleCode crypt class. They are automatically available for inclusion in your algorithm chains.

Algorithm Description

PSUnicodeToAscii

Convert Unicode text to ASCII.

PSAsciiToUnicode

Convert ASCII text to Unicode.

PSHexEncode

Convert octets (bytes) into ASCII hex nibbles.

PSHexDecode

Convert ASCII hex nibbles (with a leading 0x) into binary octets (bytes).

PSUnicodeToAscii_Generic_ENC

Convert Unicode text to ASCII

Note: Use when encrypting data across multiple platforms where one platform is Db2 z/OS. This algorithm functions the same as PSUnicodeToAscii on all platforms other than Db2 z/OS.

PSAsciiToUnicode_Generic_DEC

Convert ASCII text to Unicode

Note: Use when performing cross-platform decryption where one platform is Db2 z/OS. This algorithm functions the same as PSAsciiToUnicode on all platforms other than Db2 z/OS.