摘要: Spring 自带的md5加密工具类,本来打算自己找一个工具类的,后来想起来Spring有自带的,就翻了翻 //导入包import org.springframework.util.DigestUtils; String password = “admin”;//对密码进行 md5 加密String 阅读全文
posted @ 2020-06-24 16:27 彼岸舞 阅读(2343) 评论(0) 推荐(0)
摘要: 获取CPU序列号 1 /** 2 * 获取CPU序列号 3 * @return 4 */ 5 public static String getCpuId() throws IOException { 6 Process process = Runtime.getRuntime().exec( 7 n 阅读全文
posted @ 2020-06-24 16:15 彼岸舞 阅读(2653) 评论(0) 推荐(0)