资源简介
palyfair加解密,放入eclipse里面编译就可以运行啦
代码片段和文件信息
package play;
import javax.swing.*;
import java.awt.*;
import java.awt.event.*;
import java.awt.Container;
import java.awt.FlowLayout;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import javax.swing.JButton;
import javax.swing.Jframe;
import javax.swing.JLabel;
import javax.swing.JOptionPane;
import javax.swing.JTextField;
import javax.swing.WindowConstants;
public class playfair{
private static final int WINDOW_WIDTH=450;//像素
private static final int WINDOW_HEIGHT=270;//像素
private static final int FIELD_WIDTH=20;//字节
private static final int AREA_WIDTH=40;//字节
private static final String doubleSignal=new String(“Q“);
private static final String oddSignal=new String(“oD“);
private static final String LEGEND=“playfair加密和解密“;
评论
共有 条评论