06 2022 档案
摘要:密码工程-扩展欧几里得算法 任务详情 0. 在openEuler(推荐)或Ubuntu或Windows(不推荐)中完成下面任务 1. 参考《密码工程》p112伪代码实现ExtendedGCD(int a, int b, int *k, int *u, int *v)算法(10’) 2. 在测试代码中
阅读全文
摘要:密码工程-小素数 任务详情 0. 在openEuler(推荐)或Ubuntu或Windows(不推荐)中完成下面任务 1. 参考《密码工程》p107伪代码基于Eratosthenes算法实现 int SmallPrimeList(int n, int *plist, int *len), 其中pli
阅读全文
摘要:utils.h #ifndef UTILS_H#define UTILS_Hint Hex2Char(int fromi,char *toc);//16进制转换为字符串int Char2Hex(char fromc,int *toi);//字符串转换为十进制int BitStr2ByteArr(ch
阅读全文
摘要:utils.h: #ifndef UTILS_H#define UTILS_Hint Hex2Char(int fromi,char *toc);//16进制转换为字符串int Char2Hex(char fromc,int *toi);//字符串转换为十进制int BitStr2ByteArr(c
阅读全文

浙公网安备 33010602011771号