Support > Repository > Features of Designer/Other tools > Get hash value of password
ja | en

If you can not log on because you have forgotten your password, you can respond by rewriting the password in the database. If you specify password hashing, you can get the hash value directly with this tool. R7.9.2

Here, we will explain how to use in Windows OS.Please use the console when operating on Linux/Mac OS X.

Enter "cmd" in the "Start menu> Search program and file" column and execute it.(FIGS. 1 and 2)

Figure 1 Start menu
Fig. 2 Execute "cmd"

A command prompt is displayed, as shown in Figure 3.

Figure 3 Command Prompt
You can also execute "command prompt" directly without going through the start menu.

When the command prompt starts, move the current folder with the cd command.The destination is Wagby installation folder \ wagbydesigner \ bin.(Please read the installation folder properly.)

Fig. 4 Changing the current folder

Execute the command as follows.

- gethash [password] [hash algorithm]

For example, to obtain the hash value of the character string "admin" using the sha-1 algorithm, it is as follows.

gethash admin sha-1
Figure 5 Command execution

The execution result is displayed.

Figure 6 Execution result

Specifiable hashing algorithm

"Account> Password> Password hashedIt is the same as ".

In R7.9.1, please use the java command directly instead of the script gethash.Execution is entered directly under the installation folder as follows.

java -cp wagbyapp\webapps\wagby\WEB-INF\lib\j_util.jar;wagbyapp\webapps\wagby\WEB-INF\lib\log4j.jar;wagbyapp\webapps\wagby\WEB-INF\lib\commons-lang.jar jp.jasminesoft.util.StringUtil getHash admin sha-1
Figure 7 When Executing in R7.9.1