Release 2.x‎ > ‎Install - Reference‎ > ‎Config Ref Guide‎ > ‎Encryptors‎ > ‎

Encryptor

Defines an encryption mechanism that is used by multiple components to encrypt / decrypt information.

Syntax

<Encryptor id="PBEWithMD5AndDES">
   <Properties>
      <Property name="crypto.classname" value="org.openptk.crypto.DESCrypto" />
   </Properties>
</Encryptor>

Arguments

 Name Required Description Example
 id yes A unique identifier for the Encryptor id="DES"


Properties

 Name Required Description Example
 crypto.classname yes The full pathname of the Java class that implements the CryptoIF interface value="org.openptk.crypto.DESCrypto"


XML Sub-Elements