Password encryption

There are many places where you might want to use and store a password. The y-password.bat can be used to encrypt these passwords. Enter the tool name followed by /? or -? to see the usage instructions, for example y-password.bat -?.

Procedure

Open a command prompt on the above folder (Start > Run > cmd).

  1. Enter y-password.bat <option> <password>

  2. Mark and copy the encrypted password and paste it to your configuration file or use it directly from command line.

The following is output:

[CLI] Setting verbosity level... [VALUE: 0=OFF]

[CLI] Plain: <password>

[CLI] Encrypted: f4a28327ad2f0c87336dd74fe0a70c39

General usage

Options

Description

-?, -h, --help

Show help

Default: false

Commands

Description

encrypt

encrypts the password

Example

Input

y-password.bat encrypt aris

Output

[CLI] Setting verbosity level... [VALUE: 0=OFF]

[CLI] Plain: aris

[CLI] Encrypted: f4a28327ad2f0c87336dd74fe0a70c39

Usage of an encrypted password from command line

This example shows how to use the encrypted password while executing the LDAP synchronization from the command line.

Input

y-ldapsync.bat syncUser -au <user_name> -u system -p {crypted}f4a28327ad2f0c87336dd74fe0a70c39

Output

LDAP synchronization with password encryption