public class VistaKernelHash extends Object
For example:
String encodedString = VistaKernelHash.encrypt("some text to encode", true);
| Modifier and Type | Method and Description |
|---|---|
static String |
decrypt(String encryptedText)
Decrypts a string using the same encoding algorithm as the RPC Broker uses.
|
static String |
encrypt(String normalText,
boolean preventEncryptionsContainingCDataSectionBoundaries)
Encrypts a string using the same encoding algorithm as the RPC Broker uses.
|
public static String encrypt(String normalText, boolean preventEncryptionsContainingCDataSectionBoundaries) throws VistaKernelHashCountLimitExceededException
normalText - the text to encode. Must be characters between ASCII 32 and 128.preventEncryptionsContainingCDataSectionBoundaries - if true, the returned encrypted strings are guaranteed
not to contain either "]]>" or "<![CDATA[". Otherwise, it is possible a returned encryption may
contain those character sequences.VistaKernelHashCountLimitExceededException - if requested that the method not return a result with CData
section boundaries, and if the algorithm runs up to a count limit (presently 2000 tries) without
generating a result without such boundaries, an exception is thrown.VistaKernelHashCountLimitExceededException - if a count is exceededCopyright © 2026. All rights reserved.