{
  "schema_version": 2,
  "id": "operate/rs/security/access-control/manage-passwords/password-hashing-algorithm",
  "title": "Change the password hashing algorithm",
  "url": "https://redis.io/docs/latest/operate/rs/security/access-control/manage-passwords/password-hashing-algorithm/",
  "summary": "Change the password hashing algorithm for user passwords in a Redis Software cluster.",
  "tags": [
    "docs",
    "operate",
    "rs"
  ],
  "last_updated": "2026-09-24T09:16:28+01:00",
  "page_type": "content",
  "content_hash": "552c1b401439af8fce26c25d0c8465988a8a1be07b45f390ee569ac20bd87ba7",
  "sections": [
    {
      "id": "overview",
      "title": "Overview",
      "role": "overview",
      "text": "Redis 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."
    },
    {
      "id": "command-line-method",
      "title": "Command-line method",
      "role": "syntax",
      "text": "To 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[code example]"
    },
    {
      "id": "rest-api-method",
      "title": "REST API method",
      "role": "content",
      "text": "You 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[code example]"
    }
  ],
  "examples": [
    {
      "id": "command-line-method-ex0",
      "language": "sh",
      "code": "rladmin cluster change_password_hashing_algorithm PBKDF2",
      "section_id": "command-line-method"
    },
    {
      "id": "rest-api-method-ex0",
      "language": "sh",
      "code": "PATCH /v1/cluster/change_password_hashing_algorithm\n{ \"algorithm\": \"PBKDF2\" }",
      "section_id": "rest-api-method"
    }
  ]
}
