搜索资源列表
rand2
- 虽然说生成随机数大家都知道.但是要生成指定长度.指定字符组合.随机率在1/2000000.就难了.这是我在做充值卡时写的用来生成充值时写的随机数生成器.也是原创吧.在网上找了一堆不满意,只好自己写了.-generated random number is known to all. However, to generate a specified length. Designated character portfolio. Random rates in the 1 / 2 million.
ibe具有认证功能算法
- 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,
zuiduanlujing.rar
- 对链表分段的函数,使用链表的长度信息。其次要求把归并排序的每一步过程都打印出来。自己构造一个链表类并实现,用于排序。另外生成随机数的类,Section of the list function, use the length of the message list. Second, requested that the process every step of mergesort are printed. Construct their own class and implement a li
ruili
- 通过产生两个高斯分布的随机数,组合生成瑞利分布的信号,模拟瑞利信道,然后将一个正弦信号以不同方式通过,比较是否有变化。-By generating two Gaussian distributed random number, combined Rayleigh distribution of signal generation, analog Rayleigh Road, then a sinusoidal signal in different ways by, more if there
poisson
- poisson生成器,可以生成泊松分布的随机数,需要的就下载吧-poisson sasadas
vectoralist
- 练习vector和list的使用 定义一个空的vector,元素类型int,生成10个随机数插入到vector中,用迭代器遍历vector并输出其中的元素值。在vector头部插入一个随机数,用迭代器遍历vector并输出其中的元素值。用泛型算法find查找某个随机数,如果找到便输出,否则将此数插入vector尾部。用泛型算法sort将vector排序,用迭代器遍历vector并输出其中的元素值。将vector清空。 定义一个list,并重复上述实验,并注意观察结果。 -Exerc
quicksort
- 快排的并行实现,使用openMP,程序自动生成随机数,分别使用单线程和多线程排序,并比较最后的结果-quick sort based on openMP
HASH
- 【问题描述】 针对某个集体(比如你所在的班级)中的同学联系电话设计一个哈希表,使得平均查找长度不超过R,完成相应的建表和查表程序。 【基本要求】 (1) 假定每个记录有下列数据项:电话号码、用户名、地址。 (2) 一是从数据文件old.txt(自己现行建好)中读入各项记录,二是由系统随机产生各记录,并且把记录保存到new.txt文件中以及显示到屏幕上,记录条数不要少于30,然后分别以电话号码和用户名为关键字建立哈希表。 (3) 分别采用伪随机探测再散列法和再哈希法解决冲突。
Random
- 生成随机数种子。变换不同的随机序列,生成1-num的整数 -Generated random number seed. Transform different random sequence, to generate the integer 1-num
randomCSharp
- 每按一次回车生成一个随机数。代码虽然短,但是能在最短时间内教你学会用C#生成一个随机数-Every time you press Enter to generate a random number. The code is short, but in the shortest time to teach you how to generate a random number in C#
delphi_rand
- delphi生成随机数,取2个数之间的随机数,比如88-999之间的随机整数 ,只要让他生成不符合条件的就重生成一个-delphi generate random numbers
RVG
- 用于生成不同参数的正态分布的随机数;瑞利分布随机数;泊松分布随机数-Different parameters used to generate the normal distribution of random numbers Rayleigh distribution random numbers Poisson distribution random number
check
- 利用线形组合法,生成随机数,附加随机数检验功能-Using linear combination method to generate random numbers, an additional random number test function
random_quicksort
- 生成10000(可修改)的随机数,快速排序,并记录时间-Generated 10000 (may be amended) of the random number, quick sort, and record the time
Random_generate
- 生成给定分布律的随机数 % r=specrnd(x,p)返回一个来自分布律P(x)=p的随机数 % r=specrnd(x,p,m,n)返回m*n随机数矩阵 % p的默认值为等概率-Generate a given distribution law of random number r = specrnd (x, p) returns a from the distribution law P (x) = p of the random number r = specrnd (x,
os
- 设计一个请求页式存储管理方案。并编写模拟程序实现。 产生一个需要访问的指令地址流。它是一系列需要访问的指令的地址。为不失一般性,你可以适当地(用人工指定地方法或用随机数产生器)生成这个序列。为简单起见,页面淘汰算法采用FIFO页面淘汰算法,并且在淘汰一页时,只将该页在页表中抹去。而不再判断它是否被改写过,也不将它写回到辅存。 具体的做法可以是: 产生一个需要访问的指令地址流; 指令合适的页面尺寸(例如以 1K或2K为1页); 指定内存页表的最大长度,并对页表进行初始化;
lili-ii-ref
- lili加密算法,用于密钥流生成,可以作为真随机数发生器中后处理模块-lili encryption algorithm for key stream generation, can serve as a true random number generator in the post-processing module
sto
- 设计一个请求页式存储管理方案。并编写模拟程序实现。 产生一个需要访问的指令地址流。它是一系列需要访问的指令的地址。为不失一般性,你可以适当地(用人工指定地方法或用随机数产生器)生成这个序列。为简单起见,页面淘汰算法采用FIFO页面淘汰算法,并且在淘汰一页时,只将该页在页表中抹去。而不再判断它是否被改写过,也不将它写回到辅存。 -Page request to design a storage management program. And the preparation of simul
Random
- 可以生成指定数量的随机数,以字符串的形式显示。有复制的功能,主要用于测试。-Can generate a specified number of random numbers to string form. Have the function of reproduction, mainly for testing.
RSA
- 公钥密码算法RSA的加密和解密过程,包括随机数的生成原理和素性检测的内容。-RSA public key cryptography algorithm for encryption and decryption process, including the generation of random number theory and primality testing content.