PasswordHashAlgorithm
Password hash algorithm enumeration. Each value corresponds to an algorithm with specific parameters.
| Full name | MFiles.PasswordHashAlgorithm |
|---|---|
| Proto file | mfiles/enums.proto |
Values
| Name | Number | Description |
|---|---|---|
PASSWORD_HASH_ALGORITHM_MD5 | 0 | MD5 with fixed salt. |
PASSWORD_HASH_ALGORITHM_UNDEFINED | 1 | Algorithm not defined. |
PASSWORD_HASH_ALGORITHM_PBKDF2_WITH_SHA512_AND100000_ITERS | 2 | PBKDF2 with HMAC-SHA512 as pseudorandom function and iteration count 100000. |
Used by methods
- IRPCLogin.ChangePassword -- Changes the M-Files password of the logged-in account.
- IRPCLoginsAdmin.ResetPassword -- Completes the "forgot password" flow: sets a new password for a login with the values from the password reset link.
- IRPCVaultLoginsAdmin.ResetVaultLoginPassword -- Sets a new password for a vault login, authorized by a password reset link.
Used in fields
AuthDataServerUnion.MFilesLeg1Data.password_hash_algorithm-- The algorithm the account's password is stored with.PasswordInfo.hash_algorithm-- Password hash algorithm.ChangePasswordRequest.password_hash_algorithm_desired-- The algorithm the server uses to store the new password.ResetPasswordRequest.password_hash_algorithm_desired-- Algorithm to be used to hash the new password in the database.ResetVaultLoginPasswordRequest.password_hash_algorithm_new-- The algorithm the new password was hashed with.