资 源 简 介
SJEA - Simple Java Encryption Algorithm
SJEA is a simple command-line binary encryption algorithm written in JAVA. The type of the used method for the algorithm can be described as "symmetric block cipher" using XOR methods. It uses a password and a byte-vector array that replaces each byte of the input file and produces a new file with the ".enc" extension. The output file will be exactly five bytes longer than the original. Thats due to the nature of the "block cipher". Each byte of the original is replaced and the following byte sequence is added at the beginning of the file - %ENC%. MD5 check sum is used for output verification. The encryption is efficient to a certain level. The algorithm should be considered mainly for educational purposes.
请点击左侧文件开始预览 !预览只提供20%的代码片段,完整代码需下载后查看 加载中 侵权举报