I want to has on both the c# level and the sql server 2012 level.
How do I know if the SHA1 implementation will produce the same results?
In sql server I am doing:
HASHBYTES('SHA1', @data)
I haven't written my c# function yet.
I'm just worried if they don't produce the same hash value, I will get some inconsistencies in my application.
Note: The columns I will be using to create a hash are datetime, nvarchar and int. I have to convert these to strings correct?