S-DES algorithm JAVA Implementation (source code download)

Source: Internet
Author: User

This morning I analyzed the S-DESAlgorithmThe general process, because the residential area has a power outage, so it is just a simple analysis. The implementation is written this evening.

With the process of des analysis, the analysis and implementation of S-DES are much simpler. So that the flow chart is directly written. At that time, I chatted with my classmates and knocked onCodeThinking: I am too stupid, so now I have learned to look at the flowchart to writeProgramI am very ashamed of myself.

The class structure is basically the same as that of DES, but the key generation part is extracted separately, which makes me more intuitive.
S_des: an external interface called by others.
Keymanager: Key Management class used to generate sub-Keys.
S_desfunction: the basic method class. The necessary conditions for encryption and decryption are also the decomposition of the entire encryption and decryption process.
Iconst: replace constants.

Okay,Source codeI will not post the code after downloading it myself.

Source code: http://u.115.com/file/f4e9d3b21 (valid for 30 days, if expired please prompt me, Thank you)

The project is still developed using eclipse. You can import it directly to eclipse for experiments.

I almost forgot to write the reference document "sdes Algorithm Analysis and Implementation". In addition, I would like to thank the soldiers for their support and provide the link: Go to the bing blog

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.