Question
![](/profiles/pega_profile/modules/pega_user_image/assets/user-icon.png)
![](/profiles/pega_profile/modules/pega_user_image/assets/user-icon.png)
Accenture
IN
Last activity: 16 Dec 2016 0:54 EST
Receiving Error while running the compile and load utility
Wanted to Encrypt the data, so following the steps to encrypt the blob
When tried to run the compileAndRun Utility Reveiving the following error
The import com.pega.pegarules.exec.internal.util.crypto.PRCipherBase cannot be resolved
Where does this library exist ? in which jar file ?
P.S
Using Pega 7.1.7
-
Like (0)
-
Share this page Facebook Twitter LinkedIn Email Copying... Copied!
Accepted Solution
![](https://accounts.pega.com/sites/default/files/styles/user_image/public/1689989000/e68f0e72-3351-415a-8922-185e73fa77f4.jpg?itok=lcGeM-2x)
![](https://accounts.pega.com/sites/default/files/styles/user_image/public/1689989000/e68f0e72-3351-415a-8922-185e73fa77f4.jpg?itok=lcGeM-2x)
Virtusa IT Consulting
AE
prconfig/crypto/sitecipherclass/default is the DSS and value should be your cipher class name
![](/profiles/pega_profile/modules/pega_user_image/assets/user-icon.png)
![](/profiles/pega_profile/modules/pega_user_image/assets/user-icon.png)
Infosys Technologies
NL
Hi,
Could you please share with us the complete log file ?
![](/profiles/pega_profile/modules/pega_user_image/assets/user-icon.png)
![](/profiles/pega_profile/modules/pega_user_image/assets/user-icon.png)
Accenture
IN
you mean only the log file that is getting generated while running the compile and load uitlity , right?
![](https://accounts.pega.com/sites/default/files/styles/user_image/public/1689989000/e68f0e72-3351-415a-8922-185e73fa77f4.jpg?itok=lcGeM-2x)
![](https://accounts.pega.com/sites/default/files/styles/user_image/public/1689989000/e68f0e72-3351-415a-8922-185e73fa77f4.jpg?itok=lcGeM-2x)
Virtusa IT Consulting
AE
can you please elaborate the usecase here?
![](/profiles/pega_profile/modules/pega_user_image/assets/user-icon.png)
![](/profiles/pega_profile/modules/pega_user_image/assets/user-icon.png)
Accenture
IN
We need to encrypt the data that gets stored in the database, and while retreiving it should get decrypted.
So i am trying to implement the class specific encryption, and check the Encrypt Blob CheckBox.
If there is other way for encrypting the data, please provide suggestion
~Ross
![](https://accounts.pega.com/sites/default/files/styles/user_image/public/1689968000/9a12ed05-5e9a-43d7-b741-f1c8e02a1e68.jpg?itok=zJF-hS_P)
![](https://accounts.pega.com/sites/default/files/styles/user_image/public/1689968000/9a12ed05-5e9a-43d7-b741-f1c8e02a1e68.jpg?itok=zJF-hS_P)
Pegasystems Inc.
US
Yes, the specific use case is needed here to advise you correctly. If you're simply looking to get access to the PRCipherBase to perform encrypt/decrypt, take a look at OOB Rule-Utility-Function "encryptPropertyValue". For various reasons, there is only one instance of the PRCipherBase subclass per Pega instance in a JVM. This "encryptPropertyValue" function uses thread safe approach of thisThread.getPublicAPI() to do things like getPRCrypto().encryptPropertyValue(someText).
![](/profiles/pega_profile/modules/pega_user_image/assets/user-icon.png)
![](/profiles/pega_profile/modules/pega_user_image/assets/user-icon.png)
Accenture
IN
When i ran the above the function , i got the following error
"encryptPropertyValue: No site-specific cipher algorithm"
P.S
The above problem in compile and load got solved, when i changed the java version from 1.6 to 1.7.
Now the compile and load utility imported the compiled jar into the database, and i did i restarted the tomcat server
Another information is that my tomcat is using java 1.6 verson , does that could be the reason that the compiled jar is not getting picked ?
![](/profiles/pega_profile/modules/pega_user_image/assets/user-icon.png)
![](/profiles/pega_profile/modules/pega_user_image/assets/user-icon.png)
Accenture
IN
What is the DSS setting that needs to be created for my customer specific codeset, i have created one but want to confirm.
P.S
Instead of configuring the prconfig preferred to use the DSS for cipherclasses
![](/profiles/pega_profile/modules/pega_user_image/assets/user-icon.png)
![](/profiles/pega_profile/modules/pega_user_image/assets/user-icon.png)
Accenture
IN
What is the dss for "< env name=”crypto/sitecipherclass” value=”<the full name of our class>”>" ?
Accepted Solution
![](https://accounts.pega.com/sites/default/files/styles/user_image/public/1689989000/e68f0e72-3351-415a-8922-185e73fa77f4.jpg?itok=lcGeM-2x)
![](https://accounts.pega.com/sites/default/files/styles/user_image/public/1689989000/e68f0e72-3351-415a-8922-185e73fa77f4.jpg?itok=lcGeM-2x)
Virtusa IT Consulting
AE
prconfig/crypto/sitecipherclass/default is the DSS and value should be your cipher class name
![](/profiles/pega_profile/modules/pega_user_image/assets/user-icon.png)
![](/profiles/pega_profile/modules/pega_user_image/assets/user-icon.png)
Accenture
IN
How to move the jar to other environment
By Exporting the pr_engine class ? or we have run the compile and load script on all the environment ?
![](/profiles/pega_profile/modules/pega_user_image/assets/user-icon.png)
![](/profiles/pega_profile/modules/pega_user_image/assets/user-icon.png)
Accenture
IN
Any suggestion on this ?
![](/profiles/pega_profile/modules/pega_user_image/assets/user-icon.png)
![](/profiles/pega_profile/modules/pega_user_image/assets/user-icon.png)
Accenture
IN
Any suggestion on this ?
![](https://accounts.pega.com/sites/default/files/styles/user_image/public/1689989000/e68f0e72-3351-415a-8922-185e73fa77f4.jpg?itok=lcGeM-2x)
![](https://accounts.pega.com/sites/default/files/styles/user_image/public/1689989000/e68f0e72-3351-415a-8922-185e73fa77f4.jpg?itok=lcGeM-2x)
Virtusa IT Consulting
AE
You have import the jar file in other environment, and restart the server by deleting pega extract market txt file
![](/profiles/pega_profile/modules/pega_user_image/assets/user-icon.png)
![](/profiles/pega_profile/modules/pega_user_image/assets/user-icon.png)
Accenture
IN
For customer codeset we can using the export feature in product rule, to export jar files