diff options
Diffstat (limited to 'crypto/src/crypto/IEntropySource.cs')
-rw-r--r-- | crypto/src/crypto/IEntropySource.cs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/crypto/src/crypto/IEntropySource.cs b/crypto/src/crypto/IEntropySource.cs index 62e3bc76c..2e088ed27 100644 --- a/crypto/src/crypto/IEntropySource.cs +++ b/crypto/src/crypto/IEntropySource.cs @@ -19,6 +19,10 @@ namespace Org.BouncyCastle.Crypto /// <returns>The entropy bytes.</returns> byte[] GetEntropy(); +#if NETCOREAPP2_1_OR_GREATER || NETSTANDARD2_1_OR_GREATER + int GetEntropy(Span<byte> output); +#endif + /// <summary> /// Return the number of bits of entropy this source can produce. /// </summary> |