Skip to content

Commit fea98ab

Browse files
Add PasswordHashAlgorithm explanation
1 parent e7483d4 commit fea98ab

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/t-sql/functions/loginproperty-transact-sql.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ LOGINPROPERTY ( 'login_name' , 'property_name' )
6565
|**LockoutTime**|Returns the date when the [!INCLUDE[ssNoVersion](../../includes/ssnoversion-md.md)] login was locked out because it had exceeded the permitted number of failed login attempts.|
6666
|**PasswordHash**|Returns the hash of the password.|
6767
|**PasswordLastSetTime**|Returns the date when the current password was set.|
68-
|**PasswordHashAlgorithm**|Returns the algorithm used to hash the password.|
68+
|**PasswordHashAlgorithm**|Returns the algorithm used to hash the password. In [!INCLUDE [sssql22-md](../../includes/sssql22-md.md)] and earlier versions, the stored password information is calculated using SHA-512 of the salted password. Starting with [!INCLUDE [ssSQL25](../../includes/sssql25-md.md)], an iterated hash algorithm, RFC2898 (PBKDF), is used. The first byte of the hash indicates the version: `0x02` for version 2 ([!INCLUDE [sssql22-md](../../includes/sssql22-md.md)] and earlier versions) and `0x03` for version 3 ([!INCLUDE [ssSQL25](../../includes/sssql25-md.md)] and later versions).|
6969

7070
## Returns
7171
Data type depends on requested value.

0 commit comments

Comments
 (0)