Skip to main content

This content has been archived and is no longer being updated. Links may not function; however, this content may be relevant to outdated versions of the product.

Support Article

Optimal length of exposed text encrypted property



The requirement is to determine the optimal length when exposing a text encrypted property for reporting.

Error Messages

Not Applicable

Steps to Reproduce

Expose the text encrypted property.

Root Cause



Here’s the explanation for the reported behavior:

The number of bytes allocated for encrypted text must be equivalent to the length of the clear text value. The content of the clear text is also a factor. Generally, for 32-64 byte clear text, 255 characters is sufficient.

If the column size is not large enough to hold the entire encrypted value, it must be truncated similar to an unencrypted value. The truncated encrypted value fails trying to decrypt.

Published February 3, 2018 - Updated October 8, 2020

Was this useful?

0% found this useful

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.

Did you find this content helpful?

Want to help us improve this content?

We'd prefer it if you saw us at our best.

Pega Community has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice
Contact us