![](https://img-blog.csdnimg.cn/20201014180756757.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
java
我爱荤菜
这个作者很懒,什么都没留下…
展开
-
Rsa 加解密
/** * RSA公钥加密 * * @param str 加密字符串 * @param publicKey 公钥 * @return 密文 * @throws Exception 加密过程中的异常信息 */public static String publicKeyEncrypt(String str, String publicKey, String point) throws Exception { log.info("{}|RSA公钥加密前的数据|str:{}|pu转载 2021-08-12 16:02:04 · 193 阅读 · 1 评论 -
转《java获取登陆用户ip和mac地址的方法》
/*** 通过HttpServletRequest返回IP地址* @param request HttpServletRequest* @return ip String* @throws Exception*/public String getIpAddr(HttpServletRequest request) throws Exception { String...转载 2019-05-06 11:40:36 · 772 阅读 · 0 评论