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