The Crypt Velocity Viewtool encrypts and decrypts text using public key encryption (PublicEncryptionFactory) methods.
The following example shows how the CryptWebAPI Viewtool is mapped in the toolbox.xml file:
<tool>
<key>crypt</key>
<scope>application</scope>
<class>com.dotcms.rendering.velocity.viewtools.CryptWebAPI</class>
</tool>