System::Security::Cryptography::RNGCryptoServiceProvider::GetNonZeroBytes method

RNGCryptoServiceProvider::GetNonZeroBytes(ArrayPtr<uint8_t>) method

Fills existing array elements with random non-zero bytes.

void System::Security::Cryptography::RNGCryptoServiceProvider::GetNonZeroBytes(ArrayPtr<uint8_t> bytes) override
ParameterTypeDescription
bytesArrayPtr<uint8_t>Bytes array to fill.

See Also

RNGCryptoServiceProvider::GetNonZeroBytes(System::Details::ArrayView<uint8_t>) method

Fills existing array view elements with random non-zero bytes.

void System::Security::Cryptography::RNGCryptoServiceProvider::GetNonZeroBytes(System::Details::ArrayView<uint8_t> bytes) override
ParameterTypeDescription
bytesSystem::Details::ArrayView<uint8_t>Bytes array view to fill.

See Also