10、回旋镖攻击模型并行有效性分析与离散高斯采样器综述

回旋镖攻击模型并行有效性分析与离散高斯采样器综述

回旋镖攻击模型有效性验证

在密码学中,回旋镖攻击是一种重要的攻击方法,其模型的有效性验证至关重要。下面我们将详细介绍相关的串行和并行算法,以及实验结果分析。

串行算法

以下是用于验证回旋镖攻击模型有效性的串行算法:

Algorithm 2: Serial Algorithm for Validity Verification of the Boomerang
Attack Model
Input: α: the input difference of plaintext pair(Pa, Pb)
δ: the output difference of E0
Pa: 232 possible plaintext values
Output: count: the number of correct quartets
1
2 procedure statistic()
for each plaintext Pa do
3
Pb = Pa ⊕α ;
4
encrypt Pa →Ca ;
5
encrypt Pb →Cb ;
6
Cc = Ca ⊕δ ;
7
Cd = Cb ⊕δ ;
8
decrypt Cc →Pc ;
9
decrypt Cd →Pd ;
10
PcxorPd = Pc ⊕Pd ;
11
compare PcxorPd with α ;
12
if PcxorPd = α then
13
count++
14
end
15 end
16 end procedure

该算法的主要步骤如下:

评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符  | 博主筛选后可见
 
红包 添加红包
表情包 插入表情
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值