Hi All,
Please follow below method to encode/decode password:
Encode:
$WAS_BINARIES/java_1.7_64/jre/bin/java -Djava.ext.dirs=$WAS_BINARIES/plugins:$WAS_BINARIES/lib com.ibm.ws.security.util.PasswordEncoder abcdef
Output:
decoded password == "abcdef", encoded password == "{xor}Pj08Ozo5"
Output:
decoded password == "abcdef", encoded password == "{xor}Pj08Ozo5"
Decode:
$WAS_BINARIES/java_1.7_64/jre/bin/java -Djava.ext.dirs=$WAS_BINARIES/plugins:$WAS_BINARIES/lib com.ibm.ws.security.util.PasswordDecoder {xor}Pj08Ozo5
output:
encoded password == "{xor}Pj08Ozo5", decoded password == "abcdef"
output:
encoded password == "{xor}Pj08Ozo5", decoded password == "abcdef"
No comments:
Post a Comment