Skip to content

Commit 74f4f40

Browse files
committed
Remove comment bloat from FileEncryptor.cs
1 parent 2f428ae commit 74f4f40

File tree

1 file changed

+0
-20
lines changed

1 file changed

+0
-20
lines changed

Steam Desktop Authenticator/FileEncryptor.cs

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -14,26 +14,6 @@ namespace Steam_Desktop_Authenticator
1414
/// Passwords entered will be passed into 100k rounds of PBKDF2 (RFC2898) with a cryptographically random salt.
1515
/// The generated key will then be passed into AES-256 (RijndalManaged) which will encrypt the data
1616
/// in cypher block chaining (CBC) mode, and then write both the PBKDF2 salt and encrypted data onto the disk.
17-
///
18-
/// Example usage code:
19-
///
20-
/// public void testEncrypt()
21-
///{
22-
/// string password = "testing1"; //would be user supplied in actual implementation
23-
/// string salt = FileEncryptor.GetRandomSalt();
24-
/// string IV = FileEncryptor.GetInitializationVector();
25-
/// Console.WriteLine("Salt: " + salt);
26-
/// Console.WriteLine("Initialization Vector: " + IV);
27-
/// string plaintext = "I'm going to get encrypted! WOoooooo! Super exciting.";
28-
/// Console.WriteLine(plaintext);
29-
/// string encrypted = FileEncryptor.EncryptData(password, salt, IV, plaintext);
30-
/// Console.WriteLine(encrypted);
31-
/// Console.WriteLine("try to decrypt...");
32-
/// Console.WriteLine(FileEncryptor.DecryptData(password, salt, IV, encrypted));
33-
/// Console.Read();
34-
///}
35-
///
36-
///
3717
/// </summary>
3818
public static class FileEncryptor
3919
{

0 commit comments

Comments
 (0)