Membership SHA1 hash not the same for all users
I have a user table that was in plain text and migrated it to Membership provider. Using ColdFusion (current system) I managed to HASH one user's password (test user) and it matched perfectly. But now the subsequent users do not match. What am I doing wrong. <cfscript> theEncoding = "UTF-16LE"; thePassword = "dtD3v310p3r!"; base64Salt = "JZjdzUXREM0A7DPI3FV3iQ=="; theSalt = charsetEncode( binaryDecode(base64Salt, "base64"), theEncoding ); theHash = hash(theSalt & thePassword, "SHA1", theEncoding); // hash always returns hex. convert it to base64 so it matches DNN theBase64Hash = binaryEncode