找回密码
 注册
查看: 334|回复: 0

R语言 sideChannelAttack包 simulator.Simple1()函数中文帮助文档(中英文对照)

[复制链接]
发表于 2012-9-30 02:04:18 | 显示全部楼层 |阅读模式
simulator.Simple1(sideChannelAttack)
simulator.Simple1()所属R语言包:sideChannelAttack

                                        simulator.Simple1
                                         simulator.Simple1

                                         译者:生物统计家园网 机器人LoveR

描述----------Description----------

The simulator.Simple1 function simulates an unprotected cryptographic device implementing a bloc cipher.
simulator.Simple1功能模拟一个不受保护的加密设备,实施一个集团密码。


用法----------Usage----------


simulator.Simple1(message, key, noise=0)



参数----------Arguments----------

参数:message
A matrix where each row is a binary plaintext of 6 components. Each component has the value 1 or 0.
一个矩阵,其中的6个组成部分,每一行是一个二进制明文。每个组件都具有值1或0。


参数:key
A vector representing the binary secret key of 6 components. Each component has 1 or 0.
一个向量,代表二进制的密钥的6个组成部分。每个组件都具有1或0。


参数:noise
A positive integer to represent noise on traces returned by this function. Higher is its value, more there are noise on data.
一个正整数,代表噪声对这个函数返回的痕迹。高等教育是它的价值,有噪声的数据。


Details

详细信息----------Details----------

The simulator.Simple1 function allows to simulate a cryptographic device implementing a bloc cipher. Its goal is to facilitate and to accelerate the collect of data and to compare attacks with the same dataset. With a key and messages, it returns a trace which is the power consumption, in volts, during an encryption by the cryptographic device.
simulator.Simple1功能,可以将模拟一个集团密码加密设备实施。它的目标是促进和加快数据的收集和比较攻击具有相同的数据集。随着密钥和消息,它返回一个跟踪是电力的消耗,以伏特为单位,在一个加密的加密设备。

The algorithm, implemented in the simulator.Simple1 function, is detailed below. First, it applies the xor function between a message_i and the key. The result is inserted in a S-Box which is a nonlinear function that takes 6 components and returns 4 components.
,实施simulator.Simple1功能,该算法的详细说明如下。首先,它适用于一个xor和message_ikey功能之间。结果被插入在一个S-Box的,这是一个非线性函数,需要6个组件和返回4组件。

Then it calculates the hamming distance between the result and the previous result of the S-Box or the value null when encrypting the first message.
然后计算的结果和以前的S-盒或空值之间的海明距离进行加密时,第一条消息。

The result of the hamming distance is a point in the trace.
汉明距离的结果是在跟踪中的一个点。


值----------Value----------

The simulator.Simple1 function returns a trace which represents the power consumption, in volts, during an encryption by a cryptographic device.
函数返回simulator.Simple1一丝代表的功率消耗,以伏特为单位,由一个加密装置的加密过程中。


(作者)----------Author(s)----------


Liran Lerman <a href="mailto:llerman@ulb.ac.be">llerman@ulb.ac.be</a> &amp; Gianluca Bontempi <a href="mailto:gbonte@ulb.ac.be@ulb.ac.be">gbonte@ulb.ac.be@ulb.ac.be</a> &amp; Olivier Markowitch <a href="mailtolivier.markowitch@ulb.ac.be">olivier.markowitch@ulb.ac.be</a>



参考文献----------References----------



实例----------Examples----------


n=100
clee = c(round(runif(6)))
inp=matrix(round(runif(6*n)),ncol=6)

#creating a trace without noise through the simulator[通过仿真,建立追踪,无噪音]
traces=simulator.Simple1(inp,clee)

转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。


注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

手机版|小黑屋|生物统计家园 网站价格

GMT+8, 2025-5-22 15:46 , Processed in 0.039038 second(s), 16 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

快速回复 返回顶部 返回列表