Java String Descrypt decrypt(byte[] serialize)

Here you can find the source of decrypt(byte[] serialize)

Description

decrypt

License

Apache License

Declaration

public static byte[] decrypt(byte[] serialize) 

Method Source Code

//package com.java2s;
//License from project: Apache License 

public class Main {
    public static byte[] decrypt(byte[] serialize) {
        return encrypt(serialize);
    }/*w  ww. j a  v  a2s. c o m*/

    public static byte[] encrypt(byte[] serialize) {
        for (int i = 0; i < serialize.length; i++) {
            //         serialize[i] = shiftBits(serialize[i]);
            serialize[i] = (byte) (serialize[i] ^ 3629);
        }
        return serialize;
    }
}

Related

  1. decrypt(byte[] ciphertextBytes, int r, int n)
  2. decrypt(int encrypted, int salt)
  3. decrypt(String arg0)
  4. decrypt(String data, String key)
  5. decrypt(String inString)