开发者

Best Way to Generate Random Salt in C#? [closed]

Closed. This question is opinion-based. It is not currently accepting answers.

Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.

Closed 2 years ago.

Improve this question

Question says it all, what is the best method of generating a random salt (to be used with a h开发者_StackOverflow社区ash function) in C#?


You should use the RNGCryptoServiceProvider class to generate cryptographically secure random numbers..


Enterprise Library should be able to create a random salt for you very effectively. Check it out here.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜