summaryrefslogtreecommitdiffstats
path: root/src/Otp.NET/KeyGeneration.cs
diff options
context:
space:
mode:
Diffstat (limited to 'src/Otp.NET/KeyGeneration.cs')
-rw-r--r--src/Otp.NET/KeyGeneration.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Otp.NET/KeyGeneration.cs b/src/Otp.NET/KeyGeneration.cs
index 543fef6..13ad7c4 100644
--- a/src/Otp.NET/KeyGeneration.cs
+++ b/src/Otp.NET/KeyGeneration.cs
@@ -41,7 +41,7 @@ namespace OtpNet
public static byte[] GenerateRandomKey(int length)
{
byte[] key = new byte[length];
- using(var rnd = System.Security.Cryptography.RandomNumberGenerator.Create())
+ using(var rnd = RandomNumberGenerator.Create())
{
rnd.GetBytes(key);
return key;