すのはら荘春原庄的雪

Hi, Mengjie Ye!

You got to put the past behind you before you can move on.

  • 个人博客地址:https://ymj68520.cnblogs.com/ 欢迎大家来踩

    随笔分类 -  密码学

    摘要:素数模的逆 又是可恶的密码学。 每天疯狂求逆,天天辗转相除法,实在是腻了。 因此有了以下代码、、 #include <iostream> #include <vector> #include <cmath> #include <map> using namespace std; int invers 阅读全文
    posted @ 2022-05-04 12:17 ymj68520 阅读(151) 评论(0) 推荐(0) 编辑
    摘要:求解某点的数乘点 最近被密码学折磨的不轻,手算椭圆曲线上的点经常算错,简直生草。 因次就有了以下下代码~~ #include <iostream> #include <cassert> #include <map> #include <cmath> using namespace std; int 阅读全文
    posted @ 2022-05-04 12:14 ymj68520 阅读(583) 评论(0) 推荐(0) 编辑
    摘要:AES加密算法 由于笔者最近上密码学这门课,分组密码的作业可谓是折磨。 以下是我自己写的相关计算代码。 列混合 #include <iostream> using namespace std; int StateMatrix[4][4]; // 状态矩阵 int muti(int hex1, int 阅读全文
    posted @ 2022-04-05 15:29 ymj68520 阅读(978) 评论(0) 推荐(0) 编辑

    分享到:

    打赏

    >>

    欢迎打赏支持我 ^_^

    扫描二维码打赏

    了解更多

    点击右上角即可分享
    微信分享提示