Skip to main content

Interface: PasswordCredentialParams

Types.PasswordCredentialParams

Export

Interface

PasswordCredentialParams

Properties

password_hash

password_hash: string

A hash of a password, in the one of the formats accepts by SlashID. SlashID supports the following hashing functions:

  • pbkdf2
  • bcrypt
  • argon2i
  • argon2id Hashes created using a function not listed here will be rejected. In all of these cases, SlashID accepts hashes in the format described here. The only departure from the specification described is that the hashing function version can include the characters [a-z0-9], to accommodate bcrypt versions (2, 2a, 2b, 2x, 2y). SlashID also accepts password hashes in the format used by bcrypt. If a password hash matches this format, it is assumed that the hashing function used was bcrypt. If any other hashing function was used to hash the password, the hash must be in the SlashID hash format.

Memberof

PasswordCredentialParams