It's probably due to the subtleties of how SQL Server interacts with datatypes and not node per se--see the following for some details:
http://weblogs.sqlteam.com/mladenp/archive/2009/04/28/Comparing-SQL-Server-HASHBYTES-function-and-.Net-hashing.aspx If you can't change the database side of this you may be able to reproduce SQL Server's behavior by mimicking it's byte-encoding before generating the hash. On Monday, September 3, 2012 1:01:02 PM UTC-7, kenny wrote: > > Hi All, > > I have to work with microsoft database and using node.js, but I cannot > make the hash value of the generated node.js to be the same as the one in > the microsoft sql database? > > Is there anyways to do it? > > Also is there any library that can generate the same hash value? > > My company want to have the main website using microsoft C# and using > node.js as the server side for mobile app? > > thank you all > -- Job Board: http://jobs.nodejs.org/ Posting guidelines: https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines You received this message because you are subscribed to the Google Groups "nodejs" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/nodejs?hl=en?hl=en
