In my database I have a computed column that contains a SHA1 hash of a column called URLString which holds URLs (e.g. \"http://xxxx.com/index.html\").
I often need t
You're likely getting bitten by character encoding differences:
http://weblogs.sqlteam.com/mladenp/archive/2009/04/28/Comparing-SQL-Server-HASHBYTES-function-and-.Net-hashing.aspx
You could try getting the bytes via Encoding.ASCII.GetBytes(url) or Encoding.Unicode.GetBytes(url) and see which one your db is using.