Show all Hide all
Not available in Cloud edition.

Computes a hash from a password and salt.

If you need to test a Softadmin®-user's password then you should use SoftadminApi.User_Authenticate.

If you need to verify any other password hashed by SoftadminUtil.Password_Hash then use SoftadminUtil.Password_Verify.

Type: Scalar function
Area of use: General use


@Iterations mandatory int
How securely to hash the password. Higher numbers make passwords harder to crack but places greater load on the server.

Use NULL to get a reasonable compromise between speed and security.
@Password mandatory nvarchar(8000)
The password