Skip to content

Commit

Permalink
formatting fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
kspearrin committed Jan 5, 2018
1 parent 620f044 commit 90c1114
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion src/Otp.NET/Base32Encoding.cs
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,5 @@ private static char ValueToChar(byte b)

throw new ArgumentException("Byte is not a value Base32 value.", "b");
}

}
}
2 changes: 1 addition & 1 deletion src/Otp.NET/KeyGeneration.cs
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ public static class KeyGeneration
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;
Expand Down

0 comments on commit 90c1114

Please sign in to comment.