![](https://img-blog.csdnimg.cn/20201014180756923.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Java
silangfeilang
asd
展开
-
解决Java RSA加密,解密报错:Data must not be longer than 117 bytes,Data must not be longer than 128 bytes
https://blog.csdn.net/silangfeilang/article/details/108403723原创 2020-09-05 17:01:34 · 11716 阅读 · 1 评论 -
Java使用RSA的公钥加密,私钥解密;私钥加密,公钥解密
Java使用RSA的公钥加密,私钥解密;私钥加密,公钥解密package org.system.common.util.RSA;import lombok.extern.slf4j.Slf4j;import org.apache.commons.codec.binary.Base64;import org.springframework.beans.factory.annotation.Autowired;import org.springframework.stereotype.Compone原创 2020-09-04 14:41:28 · 15746 阅读 · 13 评论 -
Java txt文件 转 utf-8 格式
Java txt文件 转 utf-8 格式转载并修改来源:http://www.cnblogs.com/wangyanei2017/p/8807351.htmlimport org.apache.commons.io.FileUtils;public File TXTHandler(File file) { //原本这里的是gb2312,为了兼容更多,选择了gbk St...转载 2018-11-22 14:09:29 · 3808 阅读 · 0 评论 -
org.apache.commons.lang.StringUtils 提供的方法的用法与不同
导入StringUtils依赖 <dependency> <groupId>org.apache.commons</groupId> <artifactId>commons-lang3</artifactId> <version>3.4<...原创 2019-03-16 11:33:20 · 21344 阅读 · 0 评论