Skip to content

Latest commit

 

History

History
27 lines (21 loc) · 630 Bytes

README.md

File metadata and controls

27 lines (21 loc) · 630 Bytes

drcom

CLA assistant

drcom解密算法

public class Drcom {

    public static void main(String[] args){
        int[] passwd = { 28, 57, 86, 19, 47, 76, 9, 38, 66, 95, 28, 57, 86, 18,
                47, 76 };
        String mi = "To^~c]#-Gw";
        String ming = "";
        for (int i = 0; i < mi.length(); i++) {
            int a = mi.charAt(i) - passwd[i];
            if (a < 32) {
                a += 95;
            }
            ming += (char) a;
        }
        System.out.println(ming);
    }
    
}