2020/11/29-A-关于DES浅谈
数据加密算法(Data Encryption Algorithm,DEA)是一种对称加密算法,很可能是使用最广泛的密钥系统,特别是在保护金融数据的安全中,最初开发的DEA是嵌入硬件中的。通常,自动取款机(Automated Teller Machine,ATM)都使用DEA。它出自IBM的研究工作,IBM也曾对它拥有几年的专利权,但是在1983年已到期后,处于公有范围中,允许在特定条件下可以免除专利使用费而使用。1977年被美国*正式采纳。 DES的原始思想可以参照二战德国的恩格玛机,其基本思想大致相同。传统的密码加密都是由古代的循环移位思想而来,恩格玛机在这个基础之上进行了扩散模糊。但是本质原理都是一样的。现代DES在二进制级别做着同样的事:替代模糊,增加分析的难度。 DES的加密原理,是使用一个 56 位的密钥以及附加的 8 位奇偶校验位,产生最大 64 位的分组大小。这是一个迭代的分组密码,使用称为 Feistel 的技术,其中将加密的文本块分成两半。使用子密钥对其中一半应用循环功能,然后将输出与另一半进行“异或”运算;接着交换这两半,这一过程会继续下去,但最后一个循环不交换。DES 使用 16 个循环,使用异或,置换,代换,移位操作四种基本运算。 类似于:A1ez8zw/wJ6QNPeMblfS+S1KJJ7l92/lraZM+Ee+NCMUkE7V2/pq0lCoqSrQ4+U8OX5dUd/7SGf+SQcOUynD9w4G/Kj1cgznPBsRS7pHTPdFH48DWIkxFv8kIld9lDgAENmBoWPVenI/V0n5ARptj82cgrstYXkYKqJt6X9nZ4MpZ1nh+0Ad3ejMuzgT5g+MV3YShtV99ibtQ8ixnOePkfKE+Yj1UXHYk//Yue0Ul32jXQ91Uqr7RS2MIU05Jav6rYs8RHdUeM/sFq9HsmjfH5ZBUzAnH9dJFNQHsJd0y7WZzRk6ddQqkduArREwQNR8fPhb5JUHYSH/A04zy+sIYr0JW4Fe/XN+o90F6WmRE/+dwtZPXzBJcrXsm0D6fK5F6zOEsl0i7yUE1fm68QP+j15nRTv31Dq5QpzsS3rAw7NsnBw4NKrz2d9xdRSVRm4chZCXPnRAHCIyuGfQzAIhfDmqVjNSNDuXpAGZkHIDmMHGOj4kDTsXt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oNYOhqAxmEaszQCfjDDB8S7vb1BnHLH8+IF7s3I5F0pE8fHUFlMmbjvLdTuL2SEQVVV+9p1oTWwn9319HD/jCDFPFZ+GeuIZypd9chyyCCV4/54+FxnbNqNf/wq10/fkP9LwpqaNtlZ5R0B0NBIkEQispSO8gI7IYL/tGsMUzILwQ/meqvPTN3VF3/7oL0wpuL+HtnW0Ifcuip+HIGLo3lVFHuyYP7v25yELzKd6lRjG4IbbqrNfCBicBpleUfOyLy+DEX5bFBWJwC6sEFStvNNGz3knqZcNdZrpLCGUhWUVeCX5Ei0vH5qz0nddJXnZp7/lO+pb3LuD1AKDz+UVBVuEoNZq11gfTYQizzlSNqmlzBlt0ssTuIMZYqf/lADDCa4ZPVkumRC60D05430Lv3EendUHwHZvkmzLcT84QsSVDrFkoIKRKkfpenqv22Dgudxs8BkQoaNE1NhZaMvovp32HmhczLyv43pQB59P21/pzCXpKdAhCQe9ZxLRojCG84kBWqoqdPtmPLaxSKz/REJT0JQ2Oi8V88GvQJT3Ljpm+Lj5IZjmuaef0SMGrFp3E63IY81OIxqx0khM7bKcFsHGJ79iwPptupbLb3hJlzGIfki7S7LGppIsEG/xjyJL/IPSMuxT0tnkVS3hxjzU30QrBj0wdWsSyuXiX3FYWVACwwfYC38F5ldo4enhmjnrS4PVjeyvBJEMlsOO4Vs7/dAaCOrS0RKJVBWFepnZrDMg+NKLkJvEDtlTQQEn7bqgwMVDU1ooaP5nzHP4KOlbTCDaroUMY2E/lrvkD0/3ZHRnsC6pXsD2fMJPRK/an+ZNlKUb53vfqJhBkDF7rRblGAINUalN+5L9h7Q9axoiyS16slXyzK9E2MHUgoHUHRi6QVEF2VZ0z71nEZdUJ283Q6j4=当然,这些都是base64编码。那么,什么是base64呢? Base64是网络上最常见的用于传输8Bit字节代码的编码方式之一,大家可以查看RFC2045~RFC2049,上面有MIME的详细规范。Base64编码可用于在HTTP环境下传递较长的标识信息。例如,在Java Persistence系统Hibernate中,就采用了Base64来将一个较长的唯一标识符(一般为128-bit的UUID)编码为一个字符串,用作HTTP表单和HTTP GET URL中的参数。在其他应用程序中,也常常需要把二进制数据编码为适合放在URL(包括隐藏表单域)中的形式。此时,采用Base64编码不仅比较简短,同时也具有不可读性,即所编码的数据不会被人用肉眼所直接看到。 比如,编写一个“123”,得出的结果就是“MTIz”。