public void NeoScrypt_Hash() { var hasher = new NeoScrypt(0); var result = hasher.Digest(testValue2).ToHexString(); Assert.Equal("7915d56de262bf23b1fb9104cf5d2a13fcbed2f6b4b9b657309c222b09f54bc0", result); }
public void NeoScrypt_Hash_Should_Throw_On_Null_Input() { var hasher = new NeoScrypt(0); Assert.Throws <ArgumentNullException>(() => hasher.Digest(null)); }