public class SecureRandom : RandomPublic Class SecureRandom
Inherits Randompublic ref class SecureRandom : public RandomOrg.BouncyCastle.Security.SecureRandom = function();
Type.createClass(
'Org.BouncyCastle.Security.SecureRandom',
Random);| SecureRandom | Initializes a new instance of the SecureRandom class |
| SecureRandom(IRandomGenerator) | Use the specified instance of IRandomGenerator as random source. |
| SecureRandom(IRandomGenerator, Int32) | Initializes a new instance of the SecureRandom class |
| Equals | Determines whether the specified object is equal to the current object. (Inherited from Object) |
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object) |
| GenerateSeed(Int32) | |
| GenerateSeed(SpanByte) | |
| GetHashCode | Serves as the default hash function. (Inherited from Object) |
| GetInstance(String) | Create and auto-seed an instance based on the given algorithm. |
| GetInstance(String, Boolean) | Create an instance based on the given algorithm, with optional auto-seeding |
| GetNextBytes | |
| GetType | Gets the Type of the current instance. (Inherited from Object) |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object) |
| Next | (Overrides RandomNext) |
| Next(Int32) | (Overrides RandomNext(Int32)) |
| Next(Int32, Int32) | (Overrides RandomNext(Int32, Int32)) |
| NextBytes(Byte) | (Overrides RandomNextBytes(Byte)) |
| NextBytes(SpanByte) | (Overrides RandomNextBytes(SpanByte)) |
| NextBytes(Byte, Int32, Int32) | |
| NextDouble | (Overrides RandomNextDouble) |
| NextInt | |
| NextInt64 | Returns a non-negative random integer. (Inherited from Random) |
| NextInt64(Int64) | Returns a non-negative random integer that is less than the specified maximum. (Inherited from Random) |
| NextInt64(Int64, Int64) | Returns a random integer that is within a specified range. (Inherited from Random) |
| NextLong | |
| NextSingle | Returns a random floating-point number that is greater than or equal to 0.0, and less than 1.0. (Inherited from Random) |
| Sample | Returns a random floating-point number between 0.0 and 1.0. (Inherited from Random) |
| SetSeed(Byte) | |
| SetSeed(Int64) | |
| SetSeed(SpanByte) | |
| ToString | Returns a string that represents the current object. (Inherited from Object) |