Expand Minimize
This topic has not yet been rated - Rate this topic

PWDENCRYPT (Transact-SQL)

Returns the SQL Server password hash of the input value that uses the current version of the password hashing algorithm.

PWDENCRYPT is an older function and might not be supported in a future release of SQL Server. Use HASHBYTES instead. HASHBYTES provides more hashing algorithms.

Topic link iconTransact-SQL Syntax Conventions


PWDENCRYPT ('password')
password

Is the password to be encrypted. password is sysname.

varbinary(128)

PWDENCRYPT is available to public.

Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.