⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 readme.txt

📁 Java实现传统算法加密解密
💻 TXT
字号:
Source code of EE548 Assignment 1	(Neng Wang 56125488)

There are 5 java files in source folder:
Ass1.java -- main class
Monoalphabetic.java -- fulfill Monoalphabetic substitution algorithm
Palyfair.java -- fulfill Playfair algorithm
Vigenere.java -- fulfill Vigenere algorithm
MonoCryptanalysis.java -- used to cryptanalysis the cipher of Monoalphabetic substitution algorithm

How to run:
1.compile Ass1.java:
javac Ass1.java

2.run the project:
java Ass1

3.Then there will be a GUI coming out. You need to input the file path of plaintext file.
The format of the path as follow: C:/floder1/floder2/fileName.txt

4.Choose a algorithm
if you choose "Monoalphabetic", need not to input key, otherwise input the key.

5.Press "Encrypt" to encrypt with the algorithm you choose
A file with cipher will be created in the same folder of input file

6.Press "Decrypt" to decrypt with the cipher step 5 generated.
A file with decrption will be created in the same folder of input file

7.Cryanalysis
compile:
javac MonoCryptanalysis.java
run:
java MonoCryptanalysis
Make sure the MonoCryptanalysis.class and Mono_cipher.txt are in the same folder


There is also a folder "sample" including the results the project generated.

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -