Welcome![Sign In][Sign Up]
Location:
Search - 9-1 9-2

Search list

[Crypt_Decrypt algrithmsibe具有认证功能算法

Description: 1 Boneh-Franlin的IBE算法主要由四个子算法组成:Setup,Extract,Encrypt和Decrypt,分别完成系统参数建立、密钥提取、加密和解密的功能。假定消息的明文空间为 ,密文空间 。 (1)、建立: 给定一个安全参数 k蝂+ Step 1: 执行G生成一个素数q, 两个q阶群G1, G2 , 和一个可用的双线性映射 ê: G1碐1瓽2。 此外选取G1 任一生成元 P蜧1,再选取两个HASH函数 H3:{ 0, 1}n×{0, 1}n。 -?, H4:。 :{ 0, 1}n鄘0, 1}n Setp 2: 随机选取一个 s? 令 Ppub=sP。 Step 3: 选择两个算法函数, H1: {0, 1}*?, H2: G2畕0, 1}n 。(对于安全验证,将所有的散列函数看作是随机的数据系统)。 消息空间为M= {0, 1}n。 密文空间为 C = 磠0, 1}n。 输出系统参数为 p = {q, G1, G2, ê, n, P, Ppub, H1, H2 H3, H4,}。 主密钥为 s?。 (2)、提取: 对于一个给定的字符串 Id蝱0, 1}* 算法如下: Step 4: 计算 QId = H1(Id) ?。 Step 5: 设私钥为 SId 则 SId = (QId)s 其中s为主密钥。 (3)、加密: 利用公钥 Id加密m蜯 算法如下: Step 6: 计算 QId = H1(Id) ?。 Step 7: 选择一个随机数 σ?。 Step 8: 设r= H3 (σ,m) Step 9:建立密文为:c= (4)、解密: 令c = 为用公钥加密的密文。如果U不属于 ,则拒绝该密文, 使用私钥要解密 SId? : Step 10:计算σ=V臜2(ê(SId, U)) Step 11:得出m=W H4 (σ) Step 12:设r = H3 (σ,m),验证U与rσ是否相等,如果不等则拒绝。 由上述算法的一般形式可以看出,基本的基于身份的广播加密机制,在解密时需要解一个n个变量的线性方程组(n为用户的数目),虽然有相对有效的方法解方程组但是对于WSN中的节点来说,需要的存储空间和计算量都太大,不适合。 针对上述问题提出了改进的基于身份的广播加密机制[17]。改进的算法不需要解方程组,它基于数学变换利用双线性的特性,在解密时只需要节点自己的私钥和已知的其他节点的公钥即可。采用了IBE算法的简要版本(simple)使用两个hash函数。对于改进基于身份认证的组播认证机制不需要解决任何的线性系统的方程和没有复杂的操作,更适用于计算和存储等能力都受限制的无线传感网络。 2 IBE算法性能分析 2.1 算法安全性 不管对于传统网络还是无线传感器网络,密钥管理方案的安全性都是首要考虑的因素,包括保密性、完整性、有效性等。 现在我们就来分析一下上述IBE算法的安全性。基于椭圆曲线的IBE算法的安全性依赖于给定P和rP条件下计算出r的难度,即求解椭圆曲线对数问题的时间复杂性。节点对明文加密后,将密文连同rP一起发出。解密密文时,当节点正常接收,只要用私钥dID经过计算就可以得到明文;当信息被攻击节点截取时,由于缺少私钥dID,攻击节点要算出密钥只能沿用发送节点的公式: ,假设攻击节点可以知道公钥QId和系统参数P和Ps,同时rP也是连同密文一起发送的,因此只要由P和rP解出发送节点选择的r,就可以得到gID。但是,解出r是几乎不可能的,所以IBE的安全性很高。
Platform: | Size: 1500328 | Author: michelle.yaer@163.com | Hits:

[Video CaptureVC++视频音频开发

Description: (1)源代码可在VC 6.0或.NET下调试。 (2)调试前需要安装Microsoft DirectX 9.0。 更详细的说明见各章内说明-(1) source code in 6.0 or VC.NET debug. (2) debugging former requires Microsoft DirectX 9.0. A more detailed description of the various chapters of note
Platform: | Size: 6471680 | Author: 牛一 | Hits:

[Otherstackexp

Description: 控制台下的一个表达式计算器,支持带符号小数+-*/以及指数运算,可以输入()来调整运算优先级,比如:输入1-2*(3+4^(1/2))=-9-Console expression under a calculator, a small number of support signed+-*/And index calculation, can enter () to adjust the priority operations, such as: Enter the 1-2* (3+ 4 ^ (1/2) ) =- 9
Platform: | Size: 128000 | Author: grin_t | Hits:

[source in ebook1-44

Description: C语言精彩百例第1-44例 实例1 数据类型转换 实例2 转义字符 实例3 关系和逻辑运算 实例4 自增自减 实例5 普通位运算 实例6 位移运算 实例7 字符译码 实例8 指针操作符 实例9 if判断语句 实例10 else-if语句 实例11 嵌套if语句 实例12 switch语句 实例13 for语句 实例14 while语句 实例15 do-while语句 实例16 break和continue语句 实例17 exit()语句 实例18 综合实例 实例19 一维数组 实例20 二维数组 实例21 字符数组 实例22 数组初始化 实例23 数组应用 实例24 函数的值调用 实例25 函数的引用调用 实例26 数组函数的调用 实例27 命令行变元 实例28 函数的返回值 实例29 函数的嵌套调用 实例30 函数的递归调用 实例31 局部和全局变量 实例32 变量的存储类别 实例33 内部和外部函数 实例34 综合实例1 实例35 综合实例2 实例36 变量的指针 实例37 一维数组指针 实例38 二维数组指针 实例39 字符串指针 实例40 函数指针 实例41 指针数组 实例42 二维指针 实例43 指针的初始化 实例44 综合实例-err
Platform: | Size: 146432 | Author: 杨志亮 | Hits:

[Internet-NetworkSockets-2.1.8

Description: 很通用的socket编程,线程安全和ssl加密访问-Very common socket programming, thread-safe and ssl encryption visit
Platform: | Size: 5365760 | Author: zhbs | Hits:

[CSharpxianxing

Description: 1.输入一组整型元素序列,建立顺序表。 2.实现该顺序表的遍历。 3.在该顺序表中进行顺序查找某一元素,查找成功返回 1,否则返回 0。 4.判断该顺序表中元素是否对称,对称返回1,否则返回0。 5.实现把该表中所有奇数排在偶数之前,即表的前面为奇数,后面为偶数。 6.输入整型元素序列利用有序表插入算法建立一个有序表。 7.利用算法 6 建立两个非递减有序表并把它们合并成一个非递减有序表。 8.编写一个主函数,调试上述算法。 * 9.综合训练:利用顺序表实现一个班级学生信息管理(数据录入、插入、删 除、排序、查找等) -err
Platform: | Size: 181248 | Author: 穆凝 | Hits:

[OtherShuDu

Description: 每一行都用到1,2,3,4,5,6,7,8,9,位置不限, 每一列都用到1,2,3,4,5,6,7,8,9,位置不限, 每3×3的格子都用到1,2,3,4,5,6,7,8,9,位置不限, 游戏的的过程就是用1,2,3,4,5,6,7,8,9填充空白,并要求满足每行、每列、每个九宫格都用到1,2,3,4,5,6,7,8,9-Each line used 1,2,3,4,5,6,7,8,9, location open, each column are used 1,2,3,4,5,6,7,8,9, Position Open, each 3 × 3 lattice are used 1,2,3,4,5,6,7,8,9, location open, the course of the game is to use 1,2,3,4,5 , 6,7,8,9 fill gaps and meet the requirements of each row, each row, each of squares are used 1,2,3,4,5,6,7,8,9
Platform: | Size: 101376 | Author: | Hits:

[Data structs1-2dictory

Description: 算法实现题2-9 排列的字典序问题 « 问题描述: n个元素{1,2, , n }有n!个不同的排列。将这n!个排列按字典序排列,并编号为0,1,…, n!-1。每个排列的编号为其字典序值。例如,当n=3时,6 个不同排列的字典序值如下: 字典序值 0 1 2 3 4 5 排列 123 132 213 231 312 321 « 编程任务: 给定n 以及n 个元素{1,2, , n }的一个排列,计算出这个排列的字典序值,以及按字 典序排列的下一个排列。-Algorithm 2-9 title sequence with the dictionary problem ?Problem Description: n elements (1,2,
Platform: | Size: 12288 | Author: kobewylb | Hits:

[Linux-Unixjrtplib-2.9

Description: 此代码为jrtplib-2.9库文件,用于开发RTP协议数据传输十分有效,已经用此库编写出recive和send函数,并验证成功,适用于linux和vc开发。内有linux的Makefile文件和VC工程文件,可直接使用。-This code for jrtplib-2.9 library files for the development of RTP data transfer protocol is very effective, have been prepared using this library recive and send function, and proved to be successful for the development of linux and vc. Have the Makefile in linux documentation and VC project file can be used directly.
Platform: | Size: 153600 | Author: 张瑛瑛 | Hits:

[Special EffectsCImg-1.2.8

Description: 在VC++平台下开发的可用于3D图像处理的工具,其中包含了几个小游戏来帮助读者理解程序-In VC++ Platform developed can be used for 3D image processing tools, which includes a number of small game to help the reader understand the procedures
Platform: | Size: 6462464 | Author: hawk | Hits:

[VC/MFCcode

Description: 1 BallMove 使用Win32 API线程函数创建多线程程序实例源码 2 UIThreadDemo1 不创建用户界面线程耗时操作的实例源码 3 UIThreadDemo2 创建用户界面线程耗时操作的实例源码 4 WorkThread 创建工作线程,并实现线程间通信的实例源码 5 CSemaphoreDemo 使用CSemaphore类实现线程同步的实例源码 6 SearchFile 通过多线程实现文件查找的实例源码 7. DlgActiveXDemo 在对话框应用程序中使用ActiveX控件的实例源码 8. SDIActiveXDemo 在单文档应用程序中使用ActiveX控件的实例源码 9. OleEdit 使用MFC开发ActiveX控件实例源码 10. Boxer 使用ATL开发ActiveX控件实例源码 11.ADO-PROM ADO数据库综合应用源码-1 BallMove use Win32 API function to create multi-threaded thread instance 2 UIThreadDemo1 source does not create a user interface thread an example of time-consuming operation 3 UIThreadDemo2 source user interface thread to create time-consuming operation example 4 WorkThread the creation of source code lines process, and to achieve inter-thread communication examples of the use of source CSemaphore category 5 CSemaphoreDemo realize examples of thread synchronization source 6 SearchFile through the realization of multi-threaded file search examples of source 7. DlgActiveXDemo application in the dialog box to use ActiveX controls Examples of source 8. SDIActiveXDemo in a single document application examples of the use of ActiveX controls source 9. OleEdit development of ActiveX controls using MFC source code examples 10. Boxer use ATL source code examples of the development of ActiveX controls 11.ADO-PROM ADO Database Application source
Platform: | Size: 29230080 | Author: Misszhao | Hits:

[Embeded-SCM Developuip0.9

Description: uIP0.9在ARM上的移植,ADS编译器,硬件平台EasyArm2200。实现了自带web server,内含一个简单的移植说明。-uIP0.9 in ARM s transplant, ADS compiler, hardware platform EasyArm2200. Achieved its own web server, containing a brief description of the transplant.
Platform: | Size: 468992 | Author: 黄鸣丰 | Hits:

[Embeded-SCM Developocm12864-9

Description: OCM128-9的参考程序,显示两副图片-Reference OCM128-9 procedures, shows that two images
Platform: | Size: 2048 | Author: YSS | Hits:

[Windows Develop1

Description: MFC编程技巧与范例详解\第九章\9.2可设置颜色和字体的树形控件-MFC programming skills and detailed examples \ IX \ 9.2 to set the color and font of the tree control
Platform: | Size: 3472384 | Author: wsy | Hits:

[Graph Recognizetwainapp.source.2.0.8

Description: .NET TWAIN image scanner-Abstract In Windows imaging applications, the most used API for scanning is TWAIN www.twain.org. Unfortunately, the new .NET Framework has no built-in support for TWAIN. So we have to work with the interop methods of .NET to access this API. This article doesn t explain this interop techniques, and good knowledge of the TWAIN 1.9 specifications is assumed! The sample code included doesn t present a finished library, only some essential steps for a minimal TWAIN adaption to .NET applications. Details First step was to port the most important parts of TWAIN.H, these are found in TwainDefs.cs. The real logic for calling TWAIN is coded in the class Twain, in file TwainLib.cs.. As the TWAIN API is exposed by the Windows DLL, twain_32.dll, we have to use the .NET DllImport mechanism for interop with legacy code. This DLL has the central DSM_Entry(), ordinal#1 function exported as the entry point to TWAIN. This call has numerous parameters, and the last one is of variable type! It was f
Platform: | Size: 2310144 | Author: dlwxn | Hits:

[VC/MFCcharactersColor

Description: 实例9-1:字体展示。源代码在光盘中“\09\text”目录下。 实例9-2:文字动画。源代码在光盘中“\09\characters”目录下。 实例9-3:画刷使用实例。源代码在光盘中“\09\Color”目录下。-text characters Color
Platform: | Size: 112640 | Author: ajian | Hits:

[Internet-NetworkIOCP_API(1.2.1.9)

Description: IOCP_API(1.2.1.9),适用于对winsock有一定了解的开发者,当然,如果你不了解winsock也没有关系,IOCP_API为您提供了高度封装的API,您只需要定义几个回调函数,调用几个API即可完成服务器搭建工作,使您可以专注于业务逻辑处理,而无需了解了解通讯底层。 -IOCP_API (1.2.1.9), for a certain understanding of the development of winsock, of course, if you do not know winsock does not matter, IOCP_API to provide you with a high degree of encapsulation of the API, you only need to define some callback function, call Several API to complete the work to build the server, so you can focus on business logic without having to learn to understand the underlying communication.
Platform: | Size: 1167360 | Author: stephen | Hits:

[AlgorithmMUMPS_4.9.2.tar

Description: MUMPS_4.9.2 稀疏线性求解,可以求解大型稀疏矩阵-MUMPS_4.9.2 sparse linear solution, can solve a large sparse matrix
Platform: | Size: 2147328 | Author: suese | Hits:

[OtherCPPexam9

Description: 1. 编写程序 Node.h 实现例 9-5 的节点类,并编写测试程序 lab9_1.cpp 实现链表的基本操作。 2. 编写程序 link.h 实现例 9-6 的链表类。在测试程序 lab9_2.cpp 中声明两个整型链表 A和 B,分别插入 5 个元素,然后把 B 中的元素加入 A 的尾部。 3. 编写程序 queue.h,用链表实现队列(或栈)类。在测试程序 lab9_3.cpp 中声明一个 整型队列(或栈)对象,插入 5 个整数,压入队列(或栈),再依次取出并显示出来。 -1 Write a program to achieve cases 9-5 Node.h node classes and preparation of test procedures lab9_1.cpp realize list of basic operations. (2) Write a program link.h achieve cases 9-6 objectlist. In the test program lists lab9_2.cpp declare two integers A and B, five elements were inserted, and then B is added to A end of the elements. 3 programming queue.h, using chain queue (or stack) classes. In the test program lab9_3.cpp declare an integer queue (or stack) object, insert five integers, pressed into the queue (or stack), then turn out and displayed.
Platform: | Size: 650240 | Author: wolf | Hits:

[Communication-MobileIEC61850-9-2结构体

Description: IEC61850-9-2协议在DSP28335上的结构体编程。(The structure of the IEC61850-9-2 protocol is programmed on the DSP28335.)
Platform: | Size: 1024 | Author: 春飞燕 | Hits:
« 12 3 4 5 6 7 8 9 10 ... 50 »

CodeBus www.codebus.net