Auto-generated method stub
This commit is contained in:
@@ -51,10 +51,8 @@ public class Copyright4RZ {
|
||||
try {
|
||||
writer = new OutputStreamWriter(new FileOutputStream("D:/MaxKey/code.txt"), encode);
|
||||
} catch (UnsupportedEncodingException e) {
|
||||
// TODO Auto-generated catch block
|
||||
e.printStackTrace();
|
||||
} catch (FileNotFoundException e) {
|
||||
// TODO Auto-generated catch block
|
||||
e.printStackTrace();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -3,7 +3,6 @@ package org.maxkey;
|
||||
public class Integer2LongTest {
|
||||
|
||||
public static void main(String[] args) {
|
||||
// TODO Auto-generated method stub
|
||||
Integer intValue =20000;
|
||||
Long v=Integer.toUnsignedLong(intValue);
|
||||
System.out.println(v);
|
||||
|
||||
@@ -26,7 +26,6 @@ public class Base64UtilsTest {
|
||||
*/
|
||||
@Test
|
||||
public void test() {
|
||||
// TODO Auto-generated method stub
|
||||
String encode=Base64Utils.encoder("base64ToFile".getBytes());
|
||||
System.out.println(encode);
|
||||
String decode=Base64Utils.decode(encode);
|
||||
|
||||
@@ -23,11 +23,9 @@ import java.io.FileNotFoundException;
|
||||
public class Md5SumTest {
|
||||
|
||||
public Md5SumTest() {
|
||||
// TODO Auto-generated constructor stub
|
||||
}
|
||||
|
||||
public static void main(String[] args) throws FileNotFoundException {
|
||||
// TODO Auto-generated method stub
|
||||
//String md5value=Md5Sum.produce(new File("E:/transwarp-4.3.4-Final-el6/transwarp-4.3.4-Final-26854-zh.el6.x86_64.tar.gz"));
|
||||
File f=new File("E:/Soft/Xmanager4_setup.1410342608.exe");
|
||||
String md5value=Md5Sum.produce(f);
|
||||
|
||||
@@ -22,11 +22,9 @@ import org.maxkey.crypto.password.PasswordGen;
|
||||
public class PasswordGenTest {
|
||||
|
||||
public PasswordGenTest() {
|
||||
// TODO Auto-generated constructor stub
|
||||
}
|
||||
|
||||
public static void main(String[] args) {
|
||||
// TODO Auto-generated method stub
|
||||
PasswordGen gen=new PasswordGen();
|
||||
System.out.println(gen.gen(2,2,2,1));
|
||||
for(int i=1;i<100;i++){
|
||||
|
||||
@@ -22,11 +22,9 @@ import org.springframework.security.crypto.bcrypt.BCryptPasswordEncoder;
|
||||
public class SCryptPasswordEncoderTest {
|
||||
|
||||
public SCryptPasswordEncoderTest() {
|
||||
// TODO Auto-generated constructor stub
|
||||
}
|
||||
|
||||
public static void main(String[] args) {
|
||||
// TODO Auto-generated method stub
|
||||
BCryptPasswordEncoder pe=new BCryptPasswordEncoder();
|
||||
//String c="$e0801$7Holo9EgzBeg5xf/WLZu3/5IQwOyEPDLJPgMXkF9jnekBrbQUMt4CF9O2trkz3zBCnCLpUMR437q/AjQ5TTToA==$oYB8KRSxAsxkKkt5r79W6r6P0wTUcKwGye1ivXRN0Ts="
|
||||
//;
|
||||
|
||||
@@ -22,11 +22,10 @@ import org.springframework.security.crypto.bcrypt.BCryptPasswordEncoder;
|
||||
public class PasswordReciprocalTest {
|
||||
|
||||
public PasswordReciprocalTest() {
|
||||
// TODO Auto-generated constructor stub
|
||||
|
||||
}
|
||||
|
||||
public static void main(String[] args) {
|
||||
// TODO Auto-generated method stub
|
||||
BCryptPasswordEncoder spe= new BCryptPasswordEncoder();
|
||||
String pass=PasswordReciprocal.getInstance().rawPassword("admin", "admin");
|
||||
String epass=spe.encode(pass);
|
||||
|
||||
@@ -20,7 +20,6 @@ package org.maxkey.crypto.password;
|
||||
public class SM3PasswordEncoderTest {
|
||||
|
||||
public static void main(String[] args) {
|
||||
// TODO Auto-generated method stub
|
||||
SM3PasswordEncoder sm3 = new SM3PasswordEncoder();
|
||||
System.out.println(sm3.encode("maxkeypassword"));
|
||||
|
||||
|
||||
@@ -20,7 +20,6 @@ package org.maxkey.util;
|
||||
public class IdSequenceTest {
|
||||
|
||||
public static void main(String[] args) {
|
||||
// TODO Auto-generated method stub
|
||||
long s =System.currentTimeMillis();
|
||||
int k;
|
||||
for(int i=1;i<=10010;i++){
|
||||
|
||||
@@ -20,7 +20,6 @@ package org.maxkey.util;
|
||||
public class MacAddressTest {
|
||||
|
||||
public static void main(String[] args) {
|
||||
// TODO Auto-generated method stub
|
||||
System.out.println(MacAddress.getAllHostMacAddress());
|
||||
}
|
||||
|
||||
|
||||
@@ -25,7 +25,6 @@ public class ObjectTransformerTest {
|
||||
* @param args
|
||||
*/
|
||||
public static void main(String[] args) {
|
||||
// TODO Auto-generated method stub
|
||||
HashMap<String, Object> ut=new HashMap<String, Object>();
|
||||
|
||||
ut.put("username","shimingxy");
|
||||
|
||||
@@ -23,7 +23,6 @@ public class CharacterCase {
|
||||
* @param args
|
||||
*/
|
||||
public static void main(String[] args) {
|
||||
// TODO Auto-generated method stub
|
||||
String word="partner ";
|
||||
|
||||
System.out.println(word.toUpperCase());
|
||||
|
||||
@@ -23,7 +23,6 @@ public class SubStr {
|
||||
* @param args
|
||||
*/
|
||||
public static void main(String[] args) {
|
||||
// TODO Auto-generated method stub
|
||||
String browser="Chrome/44.0.2369.0";
|
||||
System.out.println(browser.indexOf('.'));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user