GetNonZeroBytes()

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

Arguments

ParameterTypeDescription
bytesArrayPtr<uint8_t>Bytes array to fill.

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

Arguments

ParameterTypeDescription
bytesSystem::Details::ArrayView<uint8_t>Bytes array view to fill.

See Also