summaryrefslogtreecommitdiffstats
path: root/samples/DotNetOpenAuth.ApplicationBlock/Util.cs
diff options
context:
space:
mode:
Diffstat (limited to 'samples/DotNetOpenAuth.ApplicationBlock/Util.cs')
-rw-r--r--samples/DotNetOpenAuth.ApplicationBlock/Util.cs13
1 files changed, 0 insertions, 13 deletions
diff --git a/samples/DotNetOpenAuth.ApplicationBlock/Util.cs b/samples/DotNetOpenAuth.ApplicationBlock/Util.cs
index 8a188ac..ea7da97 100644
--- a/samples/DotNetOpenAuth.ApplicationBlock/Util.cs
+++ b/samples/DotNetOpenAuth.ApplicationBlock/Util.cs
@@ -5,8 +5,6 @@
using DotNetOpenAuth.Messaging;
internal static class Util {
- internal static readonly Random NonCryptoRandomDataGenerator = new Random();
-
/// <summary>
/// Enumerates through the individual set bits in a flag enum.
/// </summary>
@@ -30,17 +28,6 @@
}
/// <summary>
- /// Gets a buffer of random data (not cryptographically strong).
- /// </summary>
- /// <param name="length">The length of the sequence to generate.</param>
- /// <returns>The generated values, which may contain zeros.</returns>
- internal static byte[] GetNonCryptoRandomData(int length) {
- byte[] buffer = new byte[length];
- NonCryptoRandomDataGenerator.NextBytes(buffer);
- return buffer;
- }
-
- /// <summary>
/// Copies the contents of one stream to another.
/// </summary>
/// <param name="copyFrom">The stream to copy from, at the position where copying should begin.</param>