上一页 1 ··· 382 383 384 385 386 387 388 389 390 ··· 621 下一页

2020年11月23日

摘要: https://www.infoq.cn/article/2007/06/not-yet-commons-ssl 阅读全文
posted @ 2020-11-23 23:05 lydstory 阅读(234) 评论(0) 推荐(0)
摘要: 本来觉得DES、AES这种流行加密算法,使用起来应该很简单。但研究后发现有两个变数:1)分块的方式。加密是逐块进行的。分块方法有:CBC、ECB、CFB……2)padding的方式。当数据的位数不及块的大小时,需要填充。填充方式有:NoPadding、PKCS5Padding……如果加解密端采用不同 阅读全文
posted @ 2020-11-23 22:50 lydstory 阅读(106) 评论(0) 推荐(0)
摘要: public void testDESBytes3() throws Exception { /* char[] pwd = {'!', 'E', 'i', 'k', 'o', '?'}; byte[] enc = OpenSSL.encrypt("des", pwd, "全世界无产阶级者联合起来" 阅读全文
posted @ 2020-11-23 22:14 lydstory 阅读(359) 评论(0) 推荐(0)
摘要: BufferedInputStream in = new BufferedInputStream(new FileInputStream("/media/music/hello.ogg")); ByteArrayOutputStream out = new ByteArrayOutputStream 阅读全文
posted @ 2020-11-23 21:49 lydstory 阅读(495) 评论(0) 推荐(0)
摘要: DES_set_odd_parity() sets the parity of the passed key to odd. 奇偶校验设置为奇 DES_set_key_checked() will check that the key passed is of odd parity and is n 阅读全文
posted @ 2020-11-23 20:24 lydstory 阅读(132) 评论(0) 推荐(0)
摘要: https://linux.die.net/man/3/des_cfb64_encrypt 阅读全文
posted @ 2020-11-23 17:43 lydstory 阅读(287) 评论(0) 推荐(0)
摘要: CFB模式全称是Cipher FeedBack模式 des cfb模式 阅读全文
posted @ 2020-11-23 17:39 lydstory 阅读(226) 评论(0) 推荐(0)
摘要: 使用jvisualvm的jstatd方式远程监控Java程序 阅读全文
posted @ 2020-11-23 15:38 lydstory 阅读(94) 评论(0) 推荐(0)
摘要: Java VisualVM 阅读全文
posted @ 2020-11-23 14:56 lydstory 阅读(62) 评论(0) 推荐(0)

2020年11月21日

摘要: 阅读全文
posted @ 2020-11-21 20:23 lydstory 阅读(51) 评论(0) 推荐(0)
上一页 1 ··· 382 383 384 385 386 387 388 389 390 ··· 621 下一页

导航