工具、网址
关键词:工具、网址
热血吊车尾~
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
base64编解码原理
前提:对字符a进行编解码 1、编码原理:a–>01100001–>以6位为一组,变成 011000(24) 010000(16)–> 24在编码表中对应Y,16在编码表中对应Q,补充了4个0,两个0为当成=处理–>最终编码为YQ== 2、解码原理:先删除== -->变成YQ --> Y在编码中为24,Q在编码中为16,6位为一组,变成011000010000 --> 将011000010000变成01100001 --> a ...原创 2021-01-31 09:29:59 · 179 阅读 · 0 评论 -
AESUtils工具类
public class AESUtils { public static String aesDecrypt(String encryptStr, String secretKey) throws Exception { byte[] decodeBytes = new BASE64Decoder().decodeBuffer(encryptStr); KeyGenerator keyGenerator = KeyGenerator.getInstance("AES"); Sec原创 2021-03-11 11:15:15 · 333 阅读 · 0 评论 -
mysql数据同步到es的datax json脚本编写
{ “job”: { “setting”: { “speed”: { “channel”: 32 } }, “content”: [{ “reader”: { “name”: “mysqlreader”, “parameter”: { “username”: “数据库用户名”, “password”: “数据库密码”, “column”:[ “id”, “id”, “列名1”, “列名2”, “列名n” ], “connection”: [{ “table”: [ “表名1”, “表名2”, “表名n” ]原创 2021-05-15 18:22:41 · 593 阅读 · 0 评论 -
IPUtils工具类
public class IpUtils { public static String getIpAddr(HttpServletRequest request) { String ipAddress = null; try { ipAddress = request.getHeader("x-forwarded-for"); if (ipAddress == null || ipAddress.length() ==原创 2021-09-22 22:58:21 · 174 阅读 · 0 评论 -
JSON转EXCEL/CSV网址
JSON转EXCEL/CSV原创 2020-09-01 15:00:31 · 151 阅读 · 0 评论
分享