You are here: Available Utilities > C > CRYRUN

CRYRUN

Use this utility to generate an encrypted version of a password. You can then use the encrypted version of the password in an INI file, along with the ~Encrypted INI built-in function.

For more information on INI built-in functions, see the Documaker Administration Guide.

Program names

Syntax

CRYRUW32 string

Parameter

Description

string

Enter the string that you would like to encrypt.

cryruw32 TestString /n

Outputs the string in the new encrypted format.

cryruw32 TestString /l

Outputs an encrypted string in the original encryption format.

The new encryption format offers a more modern data encryption method

To use the new encryption, add the group to your fsisys.ini file with the option USE_LEGACY_ENCRYPTION = No. The current default is to use original CRYLIB encryption method unless this entry is present.

Here's an example of how you would run this utility:

C:\fap\mstrres\dms1>cryruw32 mypassword/n
Encrypted string (0eSYru9MskUELiEy4M1CT1meU)

Once you generate the encrypted version of the string, you can specify this encrypted string in an INI file, along with the ~Encrypted INI built-in function.

Here is an example that shows how you use the encrypted version of the string in an INI file:

< LDAP >
LDAP.PWD = ~ENCRYPTED 0eSYru9MskUELiEy4M1CT1meU

If you want to use the same passwords across different installations, then you need to have the same encryption key in place on each environment. The key is stored in a file named “odek” and it is stored in the directory where the JDCLib.jar file is located. To use the passwords generated from one installation on another, you would need to copy the key file to the new installation.