0x00x0028
Members 5
| Offset | Size | Name | Type | Flags | Default |
|---|---|---|---|---|---|
| 0x08 | counter | long | PrivateStatic | — | |
| 0x08 | MasterRandom | SecureRandom | PrivateStatic+1 flags | — | |
| 0x08 | ArbitraryRandom | SecureRandom | Static+2 flags | — | |
| 0x08 | generator | IRandomGenerator | 2 flags | — | |
| 0x08 | DoubleScale | double | PrivateStatic+1 flags | — |
Functions 24
| Signature | Flags | Native | Params |
|---|---|---|---|
| long NextCounterValue() | PrivateStatic | 0x08 | |
| DigestRandomGenerator CreatePrng(const string& digestName, bool autoSeed) | PrivateStatic | 0x08 | |
| byte[] GetNextBytes(SecureRandom secureRandom, int length) | PublicStatic | 0x08 | |
| SecureRandom GetInstance(const string& algorithm) | PublicStatic | 0x08 | |
| SecureRandom GetInstance(const string& algorithm, bool autoSeed) | PublicStatic | 0x08 | |
| void .ctor() | Public+1 flags | 0x00 | |
| void .ctor(IRandomGenerator generator) | Public+1 flags | 0x08 | |
| void .ctor(IRandomGenerator generator, int autoSeedLengthInBytes) | Public+1 flags | 0x08 | |
| byte[] GenerateSeed(int length) | Public+2 flags | 0x08 | |
| void GenerateSeed(const Span<System.Byte>& seed) | Public+2 flags | 0x10 | |
| void SetSeed(const byte[]& seed) | Public+2 flags | 0x08 | |
| void SetSeed(const Span<System.Byte>& seed) | Public+2 flags | 0x10 | |
| void SetSeed(long seed) | Public+2 flags | 0x08 | |
| int Next() | Public+1 flags | 0x04 | |
| int Next(int maxValue) | Public+1 flags | 0x04 | |
| int Next(int minValue, int maxValue) | Public+1 flags | 0x04 | |
| void NextBytes(const byte[]& buf) | Public+1 flags | 0x08 | |
| void NextBytes(const byte[]& buf, int off, int len) | Public+2 flags | 0x08 | |
| void NextBytes(const Span<System.Byte>& buffer) | Public+1 flags | 0x10 | |
| double NextDouble() | Public+1 flags | 0x08 | |
| int NextInt() | Public+2 flags | 0x04 | |
| long NextLong() | Public+2 flags | 0x08 | |
| void AutoSeed(IRandomGenerator generator, int seedLength) | PrivateStatic | 0x08 | |
| void .cctor() | PrivateStatic+1 flags | 0x00 |
Subclasses 2
Used by 141
types with a member, parameter or interface of this typeAbstractF2mCurveAbstractFpCurveAbstractTlsCryptoAlgorithmIdentifierFactoryAsn1CipherBuilderWithKeyAsn1SignatureFactoryBasicEntropySourceBasicEntropySourceProviderBasicOcspRespGeneratorBcTlsCryptoBigIntegersCipherKeyGeneratorCipherKeyGeneratorFactoryCmsAuthenticatedDataGeneratorCmsAuthenticatedDataStreamGeneratorCmsAuthenticatedGeneratorCmsEnvelopedDataGeneratorCmsEnvelopedDataStreamGeneratorCmsEnvelopedGeneratorCmsSignedDataGeneratorCmsSignedDataStreamGeneratorCmsSignedGeneratorCryptoServicesRegistrarDHAgreementDHKeyGenerationParametersDHKeyGeneratorHelperDHParametersGeneratorDHParametersHelperDsaKeyGenerationParametersDsaKeyPairGeneratorDsaParameterGenerationParametersDsaParametersGeneratorDsaSignerECCurveECDsaSignerECGost3410SignerECKeyGenerationParametersECKeyPairGeneratorECKeyParametersECNRSignerEd25519Ed25519KeyGenerationParametersEd25519KeyPairGeneratorEd25519PrivateKeyParametersEd448Ed448KeyGenerationParametersEd448KeyPairGeneratorEd448PrivateKeyParametersElGamalEngineElGamalKeyGenerationParametersElGamalParametersGeneratorEncryptedPrivateKeyInfoFactoryEnvelopedDataHelperFastTlsCryptoGost3410KeyGenerationParametersGost3410ParametersGeneratorGost3410SignerHMacDsaKCalculatorIBlockCipherPaddingIDsaKCalculatorISO10126d2PaddingISO7816d4PaddingIso9796d2PssSignerJPakeParticipantJPakeUtilitiesKekRecipientInfoGeneratorKeyAgreeRecipientInfoGeneratorKeyGenerationParametersKeyTransRecipientInfoGeneratorMiscPemGeneratorModNaccacheSternKeyGenerationParametersNaccacheSternKeyPairGeneratorOaepEncodingOcspReqGeneratorParametersWithRandomParameterUtilitiesPasswordRecipientInfoGeneratorPbeUtilitiesPemWriter+61 more