Here you can find the source of decryMd5(String source)
public static String decryMd5(String source)
//package com.java2s; /**//from ww w . j ava 2 s . c om * Copyright (c) 2012 The Anyuaning Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ public class Main { public static String decryMd5(String source) { String s = convertMd5(source); return convertMd5(s); } private static String convertMd5(String source) { if (source == null) { throw new NullPointerException(); } char[] c = source.toCharArray(); for (int i = 0; i < c.length; i++) { c[i] = (char) (c[i] ^ 't'); } String result = new String(c); return result; } }