Previous Topic: DXnewdsa Tool—Create a New DSA

Next Topic: DXrename Tool—Change the Name of a Directory Entry

DXpassword Tool—Hash a Password

The DXpassword tool lets you hash a password. You can then add the hashed password to a knowledge file.

This command has the following format:

dxpassword [-v] [-P algorithm] password

Example: Hashing a Password Using MD5

The following command hashes the password qwer123 using the MD5 algorithm:

dxpassword -P MD5 qwer123

The output from this command is:

{MD5}VT6DymlpOzPvc5WMBLejFQ==

Example: Verbose Output from the DXpassword Tool

The following command hashes the password qwer123 using the SHA-1 algorithm, which is the default:

dxpassword -v qwer123

The output from this command is:

'qwer123' encoded is: {SHA}ACldbAY9DZzMbi3DJJGYppRIayY=


Copyright © 2009 CA. All rights reserved. Email CA about this topic