C#, SQL, JavaScript and more
DECLARE @PWD varbinary(128) SELECT @PWD = PWDENCRYPT ( 'password' ) SELECT @PWD -- Correct SELECT PWDCOMPARE('password', @Pwd ) -- 1 -- Failed SELECT PWDCOMPARE('bla-bla-bla', @Pwd ) -- 0
Post a Comment
No comments:
Post a Comment