Personal items-Notepad

Source: Internet
Author: User
Tags bit set

I. Introduction of the topic

Graphical interface (GUI) programming, writing an encryption and decryption program, using a graphical user interface, given any text file, to encrypt, generate another file, the encrypted file restore (decryption).

Using this program can be Txt,word and other files encryption and decryption, the use of convenient and practical, perfect function, to meet the user's needs for file security.

Second, the source of GitHub links

Https://github.com/liuyu13/liuyu13-1

Third, the design of the module test cases, test results

Import static org.junit.assert.*;

Import Org.junit.Test;


public class Myframetest {

@Test
public void Test () {
Fail ("not yet implemented");
}

}

Test run:

Iv. problems and solutions, experience

This procedure uses the traditional XOR encryption algorithm, does not adopt the DES algorithm, but for the world recognized des is a kind of packet encryption algorithm, is the data encryption with 64 bits for the packet. A 64-bit set of plaintext is entered from one end of the algorithm and 64 bits of ciphertext are output from the other end. The length of the key is 56 bits (the key is usually represented as a 64-bit number, but each 8th bit is used as a parity, which can be ignored). The key can be any 56-digit number and can be changed at any time. This program uses the same algorithm as des: All is a symmetric algorithm: and encryption and decryption with the same algorithm.

Through this course design, we also know a lot of their own shortcomings, such as only mastered a cryptographic algorithm, but in the increasingly developed social business and other fields, encryption and decryption needs to do a lot of, and the Java field is profound, we just learned its a little fur, so still need a lot of effort.

But through these I still learned a lot of things, not to mention the other, I at least the most basic encryption algorithm, and later can be applied to the files they want to keep confidential.

Through this course design, I use the Java language implementation, I this is my Java language has a deep understanding of the consolidation of the previous knowledge, but also learned new knowledge

Personal items-Notepad

Related Article

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.