C
china1
Unregistered / Unconfirmed
GUEST, unregistred user!
package password;
import java.io.PrintStream;
public class password
{
public password()
{
}
public static void main(String args[])
{
password test = new password();
System.out.println(test.passwordEncrypt("abcdefgh"));
}
public String passwordEncrypt(String password)
{
String s;
try
{
byte bytes1[] = password.getBytes("ISO-8859-1");
byte bytes2[] = {
9, 10, 13, 13, 10, 13, 9, 10, 13, 10,
10, 13
};
for(int i = 0;
i < bytes1.length &&
i < bytes2.length;
i++)
bytes1 = (byte)(bytes1 ^ bytes2);
String s1 = new String(bytes1, "ISO-8859-1");
return s1;
}
catch(Exception theException)
{
s = null;
}
return s;
}
}
import java.io.PrintStream;
public class password
{
public password()
{
}
public static void main(String args[])
{
password test = new password();
System.out.println(test.passwordEncrypt("abcdefgh"));
}
public String passwordEncrypt(String password)
{
String s;
try
{
byte bytes1[] = password.getBytes("ISO-8859-1");
byte bytes2[] = {
9, 10, 13, 13, 10, 13, 9, 10, 13, 10,
10, 13
};
for(int i = 0;
i < bytes1.length &&
i < bytes2.length;
i++)
bytes1 = (byte)(bytes1 ^ bytes2);
String s1 = new String(bytes1, "ISO-8859-1");
return s1;
}
catch(Exception theException)
{
s = null;
}
return s;
}
}