相关疑难解决方法(0)

简单证明GUID不是唯一的

我想证明一个GUID在一个简单的测试程序中并不是唯一的.我希望以下代码运行几个小时,但它不起作用.我怎样才能使它工作?

BigInteger begin = new BigInteger((long)0);
BigInteger end = new BigInteger("340282366920938463463374607431768211456",10);  //2^128
for(begin; begin<end; begin++)
  Console.WriteLine(System.Guid.NewGuid().ToString());
Run Code Online (Sandbox Code Playgroud)

我正在使用C#.

c# guid

323
推荐指数
21
解决办法
26万
查看次数

md5的冲突率是多少?

md5算法发生冲突的概率是多少?我相信它非常低.

security hash md5 cryptography hash-collision

31
推荐指数
2
解决办法
2万
查看次数

标签 统计

c# ×1

cryptography ×1

guid ×1

hash ×1

hash-collision ×1

md5 ×1

security ×1