added namespace SteamGuard

This commit is contained in:
Carson McManus 2016-08-27 18:42:43 -04:00
parent 8c154ceef3
commit 1ff3980c98
2 changed files with 1095 additions and 1090 deletions

View file

@ -8,6 +8,8 @@ using System.Text;
using System.Threading.Tasks;
using System.Security.Cryptography;
namespace SteamGuard
{
public class Manifest
{
private const int PBKDF2_ITERATIONS = 50000; //Set to 50k to make program not unbearably slow. May increase in future.
@ -517,7 +519,6 @@ public class Manifest
return Convert.ToBase64String(IV);
}
/// <summary>
/// Generates an encryption key derived using a password, a random salt, and specified number of rounds of PBKDF2
/// </summary>
@ -540,3 +541,4 @@ public class Manifest
}
}
}
}

View file

@ -9,6 +9,8 @@ using System.Runtime.InteropServices;
using System.Text;
using System.Threading.Tasks;
namespace SteamGuard
{
public static class Program
{
public const string defaultSteamGuardPath = "~/maFiles";
@ -638,3 +640,4 @@ public static class Program
}
}
}
}