Hot Search : Source embeded web remote control p2p game More...
Location : Home Search - main.c
Search - main.c - List
DL : 0
本次的FEAL8轮叠代要求将64位的密文C与64位的密钥K经过要设计的解密程序运行得到所需的64位的明文P。由于2进制输入输出的位数太长不方便,再程序的数据运算中大量用上16进制。在数据的运算过程中又常常把输入的数据平均分成等份,因此在数据处理上用上数组形式。FEAL算法的三个基本运算函数是整个程序的重心,程序的密钥处理和解密过程都将以这三个运算函数为中心,因此,程序的设计以S函数 函数和 f函数来展开,再由主函数编写时调用三个函数。-the FEAL8 round of the iterative requirements of the dense 64-C and 64 K after the key to the solution design running close access to the 64 P explicit. As the two-band input and output of the median long inconvenient, and then process the data using a large number of computations 16 band. Operational data in the process often imported data divided into equal portions, in data processing using an array form. FEAL algorithm three basic computing function is the focus of the whole process, Key handling procedures and decryption process of the three operations will function as the center, therefore, procedures designed to S Function and f function to commence further prepared by the main function calls the three functions.
Date : 2008-10-13 Size : 1.61kb User : 逍遥

DL : 0
Implement AKS algorithm for primality testing, which was the first polynomial time primality test that was devised. Read the paper attached and implement the main algorithm. Implement for numbers of size max 64 bits. Bonus marks will be given, if implemented for larger numbers using Library for big integers. You can use C/C++ for it. Note for purposes of checking, print out the polynomial, you get in the for loop each time, of the main algorithm(Step 5). And mainly print out the answer, YES or NO for the primality
Date : 2025-12-19 Size : 1kb User : jitender grover
CodeBus is one of the largest source code repositories on the Internet!
Contact us :
1999-2046 CodeBus All Rights Reserved.