# keystone.common.password_hashers package

## Submodules

- keystone.common.password_hashers.bcrypt module
  - `Bcrypt`
    - `Bcrypt.hash()`
    - `Bcrypt.ident_values`
    - `Bcrypt.name`
    - `Bcrypt.verify()`
  - `Bcrypt_sha256`
    - `Bcrypt_sha256.hash()`
    - `Bcrypt_sha256.ident_values`
    - `Bcrypt_sha256.name`
    - `Bcrypt_sha256.prefix`
    - `Bcrypt_sha256.verify()`
- keystone.common.password_hashers.pbkdf2 module
  - `Sha512`
    - `Sha512.hash()`
    - `Sha512.hash_algo`
    - `Sha512.ident`
    - `Sha512.name`
    - `Sha512.verify()`
- keystone.common.password_hashers.scrypt module
  - `Scrypt`
    - `Scrypt.hash()`
    - `Scrypt.ident_values`
    - `Scrypt.name`
    - `Scrypt.verify()`

## Module contents

class keystone.common.password_hashers.PasswordHasher

  Bases: `ABC`

  Abstract password hasher class

  ident: str | None
  name: str

keystone.common.password_hashers.b64s_decode(data: bytes)

  decode from shortened base64 format which omits padding & whitespace

  uses default `+/` altchars.

this page last updated: 2026-06-11 21:50:20

Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.

found an error? report a bug