{
  "id": "password-hashing-algorithm",
  "title": "Change the password hashing algorithm",
  "url": "https://redis.io/docs/latest/operate/rs/8.0/security/access-control/manage-passwords/password-hashing-algorithm/",
  "summary": "Change the password hashing algorithm for user passwords in a Redis Software cluster.",
  "content": "\nRedis Software securely stores all user passwords using a cryptographic hash function. The default password hashing algorithm is `SHA-256`, but `PBKDF2` is also supported as of Redis Software version 7.8.6-13.\n\nYou can change the password hashing algorithm using [`rladmin`](https://redis.io/docs/latest/operate/rs/references/cli-utilities/rladmin) or the [REST API](https://redis.io/docs/latest/operate/rs/references/rest-api). When you change the password hashing algorithm, the cluster rehashes the administrator password and passwords for all users, including default users.\n\n## Command-line method\n\nTo change the password hashing algorithm from the command line, run [`rladmin cluster change_password_hashing_algorithm`](https://redis.io/docs/latest/operate/rs/references/cli-utilities/rladmin/cluster/change_password_hashing_algorithm):\n\n```sh\nrladmin cluster change_password_hashing_algorithm PBKDF2\n```\n\n## REST API method\n\nYou can [change the password hashing algorithm](https://redis.io/docs/latest/operate/rs/references/rest-api/requests/cluster/change_password_hashing_algorithm#patch-change-password-hashing-algorithm) using a REST API request:\n\n```sh\nPATCH /v1/cluster/change_password_hashing_algorithm\n{ \"algorithm\": \"PBKDF2\" }\n```\n",
  "tags": ["docs","operate","rs"],
  "last_updated": "2026-07-23T12:05:56-05:00"
}
