Mono Class Library: System.Security.Cryptography.RNGCryptoServiceProvider Overview | MembersSystem.Security.Cryptography.RNGCryptoServiceProvider.GetNonZeroBytes Method |
Fill the supplied buffer with random bytes excluding zeros (0x00). [Edit]
|
- data
- The buffer to be filled with random bytes. [Edit]
Some cryptographic functions requires random that do not contain zeros. However this restriction do not apply to most application code so this method shouldn't be used. [Edit]
Namespace: System.Security.Cryptography
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0