#include iostream#include bitset#include string#include algorithmusing namespace std;const int NUM_ROUNDS = 16;const int BLOCK_SIZE = 8;bitsetBLOCK_SIZE permutebitsetBLOCK_SIZE bitsetBLOCK_SIZE;bitset
Enter message (8 bits): 01101101 Enter key (8 bits): 10101010 Ciphertext: 11000010 Decrypted message: 01101101
原文地址: http://www.cveoy.top/t/topic/ckZq 著作权归作者所有。请勿转载和采集!