Skip to content

Commit

Permalink
Remove comment bloat from FileEncryptor.cs
Browse files Browse the repository at this point in the history
  • Loading branch information
geel9 committed Dec 2, 2015
1 parent 2f428ae commit 74f4f40
Showing 1 changed file with 0 additions and 20 deletions.
20 changes: 0 additions & 20 deletions Steam Desktop Authenticator/FileEncryptor.cs
Original file line number Diff line number Diff line change
@@ -14,26 +14,6 @@ namespace Steam_Desktop_Authenticator
/// Passwords entered will be passed into 100k rounds of PBKDF2 (RFC2898) with a cryptographically random salt.
/// The generated key will then be passed into AES-256 (RijndalManaged) which will encrypt the data
/// in cypher block chaining (CBC) mode, and then write both the PBKDF2 salt and encrypted data onto the disk.
///
/// Example usage code:
///
/// public void testEncrypt()
///{
/// string password = "testing1"; //would be user supplied in actual implementation
/// string salt = FileEncryptor.GetRandomSalt();
/// string IV = FileEncryptor.GetInitializationVector();
/// Console.WriteLine("Salt: " + salt);
/// Console.WriteLine("Initialization Vector: " + IV);
/// string plaintext = "I'm going to get encrypted! WOoooooo! Super exciting.";
/// Console.WriteLine(plaintext);
/// string encrypted = FileEncryptor.EncryptData(password, salt, IV, plaintext);
/// Console.WriteLine(encrypted);
/// Console.WriteLine("try to decrypt...");
/// Console.WriteLine(FileEncryptor.DecryptData(password, salt, IV, encrypted));
/// Console.Read();
///}
///
///
/// </summary>
public static class FileEncryptor
{

0 comments on commit 74f4f40

Please sign in to comment.