DES 算法分析和攻击性评估
2021-12-21 10:30:39 108KB DES
1
配套文章解析:https://blog.csdn.net/u013469753/article/details/1083 DES的英文全称是Data Encryption Standard,意思是数据加密标准。而我们本篇文章讨论的是DES的加密算法。希望大家能够将这两个名词区别开来,很多时候我们说的DES都是在指DES算法,而不是DES数据加密标准。DES算法是一种典型的分组密码,即将固定长度的明文通过一系列复杂的操作变成同样长度密文的算法。
2021-12-20 19:23:17 1.19MB 密码学 加密解密
1
JavaScript写的DES加密解密的代码,运行模式为CBC,纯源码觉得可以运行。加密前:select item_no,item_name,price,sale_price from t_bd_item_info where item_no='00002', 加密后:V+WKfe9+DcuPpwU7mJ8krkgpztgU7EhBnEiG5Ov8OQ3fTKoGXCHFjllJvFm3KC/QGr6HTJiT0ZY3RsbKry3ToQa+Mitc6/r767TecxRYJdbUcSxECFHSNQ==, 解密后:select item_no,item_name,price,sale_price from t_bd_item_info where item_no='00002'
2021-12-20 18:26:55 9KB JavaScript DES 加密 解密
1
基于MFC的64密钥DES加密算法,功能完备
2021-12-20 12:01:42 1.82MB MFC DES DES加密
1
DES对称分组密码系统 import java.security.spec.*; import javax.crypto.*; import javax.crypto.spec.*; class DES01 { private String strkey; private SecretKey skey=null; private String[] algo= {"DES/ECB/PKCS5Padding","DES/ECB/NoPadding","DES"}; public DES01(String key) { strkey=key; } public void keyGenerating() throws Exception { byte[] bkey=strkey.getBytes(); KeySpec ks = new DESKeySpec(bkey); SecretKeyFactory kf = SecretKeyFactory.getInstance("DES"); skey = kf.generateSecret(ks); } public static void main(String[] a) { DES01 des = new DES01("IAMASTUDENT"); des.test02("STUDENTWANGFENGLIMING"); } public byte[] Encripting(String plaintext,int i) throws Exception { byte[] bpt=plaintext.getBytes(); Cipher cf = Cipher.getInstance(algo[i]); if(skey==null)this.keyGenerating(); cf.init(Cipher.ENCRYPT_MODE,skey); byte[] bct = cf.doFinal(bpt); return bct; } public byte[] decripting(byte[] bct,int i) throws Exception { Cipher cf = Cipher.getInstance(algo[i]); if(skey==null)this.keyGenerating(); cf.init(Cipher.DECRYPT_MODE,skey); byte[] bpt = cf.doFinal(bct); return bpt; } public void test01(String mess) { try{ byte[] ct=this.Encripting(mess,0); byte[] pt=this.Decripting(ct,0); String ptt=new String(pt); System.out.println(ptt); }catch(Exception ex) { return; } } public void test02(String mess) { try{ //Encripting print("Plaintext to be encripted:"); print(mess); byte[] ct=this.Encripting(mess,0); //Exploiting the results print("Byte array of cipher:"); for(int i=0;i
2021-12-19 12:35:55 662KB DES对称分组密码系统
1
hfss_adk_v2.1(亲测HFSS13或者Ansys hfss 19可用) HFSS Antenna Design Kit_V2.1
2021-12-16 19:47:25 6.92MB HFSS Antenna Des HFSS13
1
Android Material Design菜单控件NavigationView的用法
2021-12-15 20:51:51 14.55MB NavigationVi Material Des 侧滑
1
C语言实现的DES位图加解密,密码学第二次实验
2021-12-15 15:14:16 618KB DES 密码学 位图加密 哈工大
1
DevTool 实现mac端调试工具验证结果正确性,代码兼容iOS和MacOS,其中SM3,SM4使用C语言代码,补位代码和分组模式代码自行通过objective-c代码实现,加强理解。代码基本通过category形式提供。 当前完成 NSString和NSData各种编码转换(UTF-8,GBK,Latin1,unicode,shiftJI) NSData转换hexString及base64String方便调试看数据 NSString与NSData之间转换 base64 hash(MD5,SHA1,SHA256,SHA3,SM3,HMAC) 对称加解密(DES,3DES,AES,SM4) 支持分组加密模式有: ECB、CBC、PCBC、CFB、OFB、CTR 填充方式(分组不足补位)有:PKCS7、zero、ANSIX923、ISO10126、0x80等 der,cer证书文件解析 截图
2021-12-15 11:03:06 8.6MB certificate aes hash sha
1
用C语言实现SDES加密算法 数字:
2021-12-14 15:43:55 9KB sdes C语言
1