예제 #1
0
 private void GetPasswordBytes(bool encryption, char[] password)
 {
     byte[] passwordBytes = FileEncryption.GetPasswordBytes(password);
     Utilities.ZeroArray(password);
     AutoClearPassword();
     StartBackgroundWorker(encryption, passwordBytes);
 }
예제 #2
0
 private static void GetBenchmarkInputs(out byte[] passwordBytes, out byte[] salt)
 {
     char[] password = "******".ToCharArray();
     passwordBytes = FileEncryption.GetPasswordBytes(password);
     salt          = Generate.Salt();
 }