private void Decrypt () { if ((data != null) && (data.Length > 0)) { // It somehow causes nunit test breakage // DecryptInternal (data, scope); } }
//todo: do not store decrypted in memory public void ReceiveKey(SecureString key) => Password = key.Decrypt();