/
Encryption Service

Encryption Service

The Encryption Service and encryption command, based on Jasypt, provide an easy way for developers to add encryption capabilities to DDF.

Encryption Command

An encrypt security command is provided with DDF that allows one to encrypt plain text.  This is useful if one wishes to display password fields in a GUI.

Below is an example of using the security:encrypt command to encrypt the plain text myPasswordToEncrypt.  The output, bR9mJpDVo8bTRwqGwIFxHJ5yFJzatKwjXjIo/8USWm8=, is the encrypted value.

 

ddf@local>security:encrypt myPasswordToEncrypt
 
bR9mJpDVo8bTRwqGwIFxHJ5yFJzatKwjXjIo/8USWm8=