06 2022 档案

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