摘要: 在oarcle jdk1.8上执行256位的aes秘钥加密报错如下: java.lang.RuntimeException: java.security.InvalidKeyException: Illegal key size at com.xx.opal.core.utils.aes.AESTo 阅读全文
posted @ 2019-08-08 15:19 聚变归来 阅读(2711) 评论(0) 推荐(1) 编辑
摘要: github地址: https://github.com/data61/MP SPDZ 安装步骤 依赖安装 linux 安装 apt get install automake build essential git libboost dev libboost thread dev libsodium 阅读全文
posted @ 2019-08-05 18:29 聚变归来 阅读(450) 评论(0) 推荐(0) 编辑
摘要: http测试工具: https://github.com/denji/awesome http benchmark wrk https://github.com/wg/wrk wrk2 https://github.com/giltene/wrk2 In addition to wrk's argu 阅读全文
posted @ 2019-07-14 14:47 聚变归来 阅读(1264) 评论(0) 推荐(0) 编辑
摘要: 命令 结果: 参考 https://maven.apache.org/plugins/maven dependency plugin/examples/resolving conflicts using the dependency tree.html 阅读全文
posted @ 2019-07-12 16:49 聚变归来 阅读(577) 评论(0) 推荐(0) 编辑
摘要: 参考文章: https://docs.nginx.com/nginx/admin guide/load balancer/http load balancer/ 根据路径,进行一致性hash,具体的配置方法 需要注意的是:顺序不能错,否则会报错 https://ma.ttias.be/nginx n 阅读全文
posted @ 2019-07-05 21:01 聚变归来 阅读(5338) 评论(1) 推荐(0) 编辑
摘要: 系列文章: 单线程性能测试:https://www.cnblogs.com/victor2302/p/11077208.html 多线程性能测试:https://www.cnblogs.com/victor2302/p/11080965.html github代码:https://github.co 阅读全文
posted @ 2019-06-25 09:43 聚变归来 阅读(1171) 评论(0) 推荐(0) 编辑
摘要: 系列文章: 单线程性能测试:https://www.cnblogs.com/victor2302/p/11077208.html 多线程性能测试:https://www.cnblogs.com/victor2302/p/11080965.html github代码:https://github.co 阅读全文
posted @ 2019-06-24 17:33 聚变归来 阅读(819) 评论(0) 推荐(0) 编辑
摘要: 背景 一直使用postman作为restful接口的调试工具,但是针对post方法的几种类型,始终不明白其含义,今天彻底了解了下 form提交的来源 html页面上的form表单 GET 提交的数据格式跟元素的method属性有关。该属性指定了提交数据的 HTTP 方法。如果是 GET 方法,所有键 阅读全文
posted @ 2019-06-21 13:41 聚变归来 阅读(37018) 评论(0) 推荐(0) 编辑
摘要: 旧代码 虽然这段代码可以进行正常转换,但是BigInteger不是正数范围,在密码学计算中,都要求是正数 指定byte数组为正数BigInteger 正数BigInteger,会有符号位,去除第一个符号位0,还原得到原始数组 阅读全文
posted @ 2019-06-13 17:43 聚变归来 阅读(3876) 评论(0) 推荐(1) 编辑
摘要: 我理解的jmh运行架构图 1. 生成字节码,字节码负责维护测试的状态和调用被测试的方法 2. 默认在fork的进程中进行测试,可以配置多个fork进程,以减少误差 3. 通过线程池,提交每个迭代的测试任务,任务执行后,收集结果信息 4.打印结果信息 我的思考 如图所示 左图.反射消耗的性能在测试 阅读全文
posted @ 2019-04-23 20:59 聚变归来 阅读(346) 评论(0) 推荐(0) 编辑