The Pega 7 Platform does not include encryption software, however, it does include the sample Java class PRCipherSampleBF, which exposes the SunJCE Java Cryptography Extension provider (in your system's JDK) of the Blowfish algorithm. The sample class is for demonstration purposes only and to help with development. To ensure the security and uniqueness of your encryption implementation, do not implement this sample.
Note: Implementation of a site-specific encryption algorithm requires Java skills and familiarity with Java Cryptography Extension (JCE) technology. This topic provides an overview of the process for planning purposes only. Obtain the necessary scripts and detailed instructions from Pegasystems Global Customer Support.
To encrypt the Storage Stream:
runPega
and compileAndLoad
script from Global Customer support.runPega
script) from the command prompt.PRCipherGenerator
to create a class skeleton. compileAndLoad
script to upload the compiled class to the Pega 7 database. You cannot use the Import gadget for this.<env name="crypto/sitecipherclass" value="YYYY.ZZZZ.QQQQ" />
where YYYY.ZZZZ is the name of your package and QQQQ is the name of your class, using the same values as in step 5.
Encryption is enabled. Your application can create instances of the class normally.