Admin Production rocket
Current Publication

Password Encryption and Decryption

Enterprise Developer for Eclipse (including UNIX Components) V7.0
Rocket® Enterprise Developer (formerly a product of Micro Focus or formerly a product of Open Text) documentation, created before Rocket Software acquired certain products from OpenText, may include outdated references to "Micro Focus" or "OpenText", both of which are trademarks of OpenText or its affiliates. Rocket Software is not affiliated with Micro Focus or OpenText and has since rebranded these products as Rocket® products. You may also encounter outdated links in this documentation. If you do, please contact Rocket Support (support@rocketsoftware.com) for assistance.

Password Encryption and Decryption

MSS calls a user-replaceable module, dfhucryp.dll, located in both \bin and \bin64 (Windows) or dfhucryp.so, located in both $COBDIR/lib/es and /lib/es64 (UNIX), to perform encryption and decryption of user passwords. The installed module does not actually perform any encryption; that is, the encrypted password is the same as the unencrypted password. You can replace this module with one that implements a password encryption and decryption strategy appropriate for your site.

The example module, dfhucry1.dll (Windows) or dfhucry1.so and dfhucry164.so (UNIX), that implements a simple encryption and decryption scheme, is supplied. The source (dfhucry1.cbl (Windows) or dfhucry1.so (UNIX)) form is provided in %ProgramFiles(x86)%\Micro Focus\Enterprise Developer\src\enterpriseserver\exits (Windows) or $COBDIR/src/enterpriseserver/exit/ (UNIX). It uses the number of 1 bits in the user ID as a shift count and a pair of encipher and decipher tables.