---
title: "websphere Decoder / Encoder"
author: "andyniu"
date: "2016-09-11T13:56:03Z"
tags: []
categories: ["Web前端"]
slug: "websphere-decoder-encoder"
draft: false
lastmod: "2017-09-12T09:11:25Z"
id: 2323793
url: "https://andyniu.iteye.com/blog/2323793"
---

1. Open console and goto directory `/usr/IBM/WebSphere/AppServer`,  
   encode:
2. `java -cp plugins/com.ibm.ws.runtime.jar:lib/bootstrap.jar:runtimes/com.ibm.jaxws.thinclient_7.0.0.jar com.ibm.ws.security.util.PasswordEncoder password`  
   decode:
3. `java -cp plugins/com.ibm.ws.runtime.jar:lib/bootstrap.jar:runtimes/com.ibm.jaxws.thinclient_7.0.0.jar com.ibm.ws.security.util.PasswordDecoder {xor}Lz4sLCgwLTs=`

\---------------------------------------------------------------------

--db password

/was/WebSphere/AppServer/profiles/Dmgrprd/config/cells/PRD/clusters/cluster/resources.xml

--consle password