For encode:  <WASROOT>java/bin/java -cp <WASROOT>/deploytool/itp/plugins/com.ibm.websphere.v6(xxx)/ws_runtime.jar com.ibm.ws.security.util.PasswordEncoder  <password>

result:   decoded password == “password”, encoded password == “{xor}Mzs+Lz47MjYx”

For decode: <WASROOT>java/bin/java -cp <WASROOT>/deploytool/itp/plugins/com.ibm.websphere.v6(xxx)/ws_runtime.jar com.ibm.ws.security.util.PasswordDecoder   {xor}Mzs+Lz47MjYx

result:      encoded password == “{xor}Mzs+Lz47MjYx”, decoded password == “password”

Yorum yapın?