diff --git a/src/EzOTP/EzOTP.csproj b/src/EzOTP/EzOTP.csproj
index 794f8c2..ac99b5e 100644
--- a/src/EzOTP/EzOTP.csproj
+++ b/src/EzOTP/EzOTP.csproj
@@ -32,7 +32,7 @@
EzOTP
- 1.0.0
+ 1.0.1
$(Version).0
$(Version).0
diff --git a/src/EzOTP/Generator/HotpGeneratorSettings.cs b/src/EzOTP/Generator/HotpGeneratorSettings.cs
index 985becd..f7fa8df 100644
--- a/src/EzOTP/Generator/HotpGeneratorSettings.cs
+++ b/src/EzOTP/Generator/HotpGeneratorSettings.cs
@@ -94,7 +94,7 @@ public static HotpGeneratorSettings CreateGoogleAuthenticator(string label, stri
/// Created generator settings.
public static HotpGeneratorSettings GenerateGoogleAuthenticator(string label, string issuer)
{
- var secret = new byte[80];
+ var secret = new byte[160 / 8];
long counter;
using (var rng = new SecureRandom())
{
diff --git a/src/EzOTP/Generator/TotpGeneratorSettings.cs b/src/EzOTP/Generator/TotpGeneratorSettings.cs
index 691cca0..5dc6dbc 100644
--- a/src/EzOTP/Generator/TotpGeneratorSettings.cs
+++ b/src/EzOTP/Generator/TotpGeneratorSettings.cs
@@ -91,7 +91,7 @@ public static TotpGeneratorSettings CreateGoogleAuthenticator(string label, stri
/// Created generator settings.
public static TotpGeneratorSettings GenerateGoogleAuthenticator(string label, string issuer)
{
- var secret = new byte[80];
+ var secret = new byte[160 / 8];
using (var rng = new SecureRandom())
rng.GetBytes(secret);
diff --git a/tests/EzOTP.TestApp/EzOTP.TestApp.csproj b/tests/EzOTP.TestApp/EzOTP.TestApp.csproj
index b84ce0a..8fff5df 100644
--- a/tests/EzOTP.TestApp/EzOTP.TestApp.csproj
+++ b/tests/EzOTP.TestApp/EzOTP.TestApp.csproj
@@ -33,7 +33,7 @@
EzOTP.TestApp
- 1.0.0
+ 1.0.1
$(Version).0
$(Version).0
diff --git a/tests/EzOTP.Tests/EzOTP.Tests.csproj b/tests/EzOTP.Tests/EzOTP.Tests.csproj
index a39a69b..c9f81c3 100644
--- a/tests/EzOTP.Tests/EzOTP.Tests.csproj
+++ b/tests/EzOTP.Tests/EzOTP.Tests.csproj
@@ -32,7 +32,7 @@
EzOTP.Tests
- 1.0.0
+ 1.0.1
$(Version).0
$(Version).0