如何随机是System.Guid.NewGuid()? [英] How Random is System.Guid.NewGuid()?

查看:360
本文介绍了如何随机是System.Guid.NewGuid()?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我知道这可能听起来像一个毫无意义的问题,但听我说......

I know this may sounds like a pointless question, but hear me out...

我基本上想知道我是否可以信任的GUID生成一个值,这将是唯一的100%的时间,也不可能predict。

I basically want to know if I can trust the GUID to generate a value which will be unique 100% of the time and impossible to predict.

我基本上滚动我在登录系统的网站,并想知道,如果GUID是足够安全的会话cookie。

I'm basically rolling my on login system for a website and want to know if the GUID is secure enough for session cookies.

在GUID是如何产生的将是pciated评价答案多少AP $ P $的任何背景。

Any background on how the GUID is generated would be much appreciated in evaluating the answers.

感谢您​​的链接,重复的问题,不过,我的问题是特定于.NET框架。

推荐答案

这里是一个极好的雷蒙德陈击穿

这篇关于如何随机是System.Guid.NewGuid()?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆