public void X16S_Hash() { var hasher = new X16S(); var result = hasher.Digest(testValue).ToHexString(); Assert.Equal("c1b0a424e65b3e01e89de43c4007803be68164320aed1a8ab9a34924cfcc5055", result); }
public void X16S_Hash_Should_Throw_On_Null_Input() { var hasher = new X16S(); Assert.Throws <ArgumentNullException>(() => hasher.Digest(null)); }