1.哪位大哥能给我一个基于IDEA算法的靠谱的源码c或者c++的软件以及源代码啊
哪位大哥能给我一个基于IDEA算法的c或者c++的软件以及源代码啊
c++ code
////////////////////////////////////////////////////////
//
// Project: Implementation of IDEA (International
// Data Encryption Algorithm)
//
// ECE Term Project
// Winter
// Author: Irwin Yoon
//
// Overview: This code does the following:
// - print out all encryption and
// decryption subkeys which are used
// in the encryption and decryption
// process
// - encrypts plaintext message
// - decrypts ciphertext message
// - shows detailed, round by round results
// (8 total)
// Program contains a user driven menu where the user can select
// initial -bit key and also select messages to decrypt
// and encrypt.
//
// Compiling: This has been verified to work on SunOS
// with g++ compiler (flop.engr.orst.edu).
// To Compile: g++ Idea.cpp -o Idea.exe
//
// Note: This code is a little sloppy. Coding could
// be made more efficient.
//
// Usage: Run executable with no arguments: Idea.exe
// Then select appropriate menu options
//
//
//
//////////////////////////////////////////////
// main() is at the bottom of file!
#include <stdio.h>
#include <iostream>
#include <stdlib.h>
#include <cassert>
#include <string>
//globals
#define NUMSUBKEYS
#define NUMROUNDS 8
#define MAXINPUTSIZE
// I had problems if we use #define with
// these nums. Problem arose when taking
// mod of this number
unsigned int TWOPOWER = ;
unsigned int TWOPOWER = ;
unsigned int inputsize;
// all the subkey information
unsigned short esubkeys[NUMSUBKEYS];
unsigned short dsubkeys[NUMSUBKEYS];
unsigned int origkeyint[4];
unsigned char origkeychar[];
//
2024-12-23 00:05536人浏览
2024-12-22 23:5086人浏览
2024-12-22 23:231878人浏览
2024-12-22 23:112181人浏览
2024-12-22 22:482438人浏览
2024-12-22 22:001101人浏览
我國拳后林郁婷在奧運女子拳擊57公斤級4強賽,以5比0強壓土耳其對手,成功闖入金牌戰,已經創下台灣拳擊史上新歷史,距離自己的金滿貫也差最後一面金牌。林郁婷的媽媽心疼她身陷風波,透露自己已經好幾天都睡不
當地時間1月25日,日本北海道出現暴風雪天氣,受此影響,新千歲機場起降的99架次航班停飛,多條鐵路列車停運。來源:央視新聞)責任編輯: 孫佳藝
中国消费者报长春讯韩馨瑶记者李洪涛)为整治网络餐饮经营乱象、织密织牢网络餐饮长效监管防护网,吉林省敦化市市场监管局对辖区入网餐饮服务单位开展了规范整治行动,在保护消费者合法权益及食品安全等方面收到了良