Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
stevehjohn committed Jan 13, 2024
1 parent 664689a commit 215efff
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Security.Tests/Crypto/CipherTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ public void Encrypts_data_and_decrypting_yields_initial_secret()

var cipherBytes = _cipher.Encrypt(secretBytes, key, iv, salt);

Assert.That(secretBytes, Is.EqualTo(cipherBytes));
Assert.That(secretBytes, Is.Not.EqualTo(cipherBytes));

var decipheredBytes = _cipher.Decrypt(cipherBytes, key, iv, salt);

Expand Down
2 changes: 1 addition & 1 deletion src/Security.Tests/Random/RngTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ public void GetBytes_returns_different_data_on_subsequent_calls()
_rng.GetBytes(first);
_rng.GetBytes(second);

Assert.That(first, Is.EqualTo(second));
Assert.That(first, Is.Not.EqualTo(second));
}
}
}

0 comments on commit 215efff

Please sign in to comment.