Question says it all, what is the best method of generating a random salt (to be used with a hash function) in C#?
You should use the RNGCryptoServiceProvider
class to generate cryptographically secure random numbers..
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With