public void HashTest(string input, string expected) { // Arrange var md4 = new MD4(); var bytes = Encoding.ASCII.GetBytes(input); // Act var hash = md4.Hash(bytes); // Assert var hashString = BitConverter.ToString(hash).Replace("-", "").ToLower(); hashString.Should().Be(expected); }