密码学
陈锦海 88kg
好学生
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
Simeck算法流程
算法流程paper在此:https://eprint.iacr.org/2015/612.pdfx ⋘\lll⋘ c denotes the cyclic shift of x to the left by c bits.x & y is the bitwise AND of x and y.x⊕yx \oplus yx⊕y is the exclusive-or (XOR) of x and y.github代码在此:https://github.com/bozhu/Simeck原创 2020-07-24 10:00:43 · 1074 阅读 · 0 评论 -
使用Sage生成 凸包不等式
新建一个a.sage。以下的代码就生成了Points的凸包不等式。Points = [[0,2],[1,-32],[0,20],[23,233]]poly = Polyhedron ( vertices = Points)for l in poly.inequality_generator(): print(l)保存,终端运行:sage a.sgae > temp_res.txt输出的格式我们不是很满意,想转化成元组的格式vim trans2tuple.pyw原创 2020-07-20 22:58:45 · 1424 阅读 · 4 评论
分享