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