public class IDEA private byte Encrypt(byte bytekey, byte inputBytes, boolean flag) /每一轮加密函数byte encryptCode = new byte8;int key = get_subkey(flag, bytekey);/ 分解子密钥encrypt(key, inputBytes, encryptCode);/ 进行加密操作return encryptCode;/ 返回加密数据private int bytesToInt(byte inBytes, int startPos) /二进制数组转换为字节return (inBytesstartPos 8) & 0xff00) +(inBytesstartPos + 1 & 0xff);private void intToBytes(int inputInt, byte outBytes, int startPos) /