A.3. 密码映射器

密码映射器使用以下算法类型之一从数据库中的多个字段中构造密码:

  • 清除文本
  • 简单摘要
  • salted 简单摘要
  • bcrypt
  • SCRAM
  • 模块加密

密码映射器具有以下属性:

注意

第一列的索引是所有映射器的 1

表 A.2. 密码映射器属性

映射程序名称属性加密方法

clear-password-mapper

  • password-index

    包含明文密码的列索引。

无加密.

simple-digest

  • password-index

    包含密码哈希的列的索引。

  • algorithm

    使用的哈希算法。支持以下值:

    • simple-digest-md2
    • simple-digest-md5
    • simple-digest-sha-1
    • simple-digest-sha-256
    • simple-digest-sha-384
    • simple-digest-sha-512
  • hash-encoding

    指定表示哈希。允许的值:

    • base64 (默认)
    • hex

使用简单的哈希机制。

salted-simple-digest

  • password-index

    包含密码哈希的列的索引。

  • algorithm

    使用的哈希算法。支持以下值:

    • password-salt-digest-md5
    • password-salt-digest-sha-1
    • password-salt-digest-sha-256
    • password-salt-digest-sha-384
    • password-salt-digest-sha-512
    • salt-password-digest-md5
    • salt-password-digest-sha-1
    • salt-password-digest-sha-256
    • salt-password-digest-sha-384
    • salt-password-digest-sha-512
  • salt-index

    包含用于哈希的 salt 的列的索引。

  • hash-encoding

    指定哈希表示法。允许的值:

    • base64 (默认)
    • hex
  • salt-encoding

    指定 salt 的表示法。允许的值:

    • base64 (默认)
    • hex

简单的哈希机制与 salt 一起使用。

bcrypt-password-mapper

  • password-index

    包含密码哈希的列的索引。

  • salt-index

    包含用于哈希的 salt 的列的索引。

  • iteration-count-index

    包含所用迭代数量的列索引。

  • hash-encoding

    指定哈希表示法。允许的值:

    • base64 (默认)
    • hex
  • salt-encoding

    指定 salt 的表示法。允许的值:

    • base64 (默认)
    • hex

用于哈希的 Blowfish 算法.

scram-mapper

  • password-index

    包含密码哈希的列的索引。

  • algorithm

    使用的哈希算法。支持以下值:

    • scram-sha-1
    • scram-sha-256
    • scram-sha-384
    • scram-sha-512
  • salt-index

    包含 salt 的列的索引用于哈希。

  • iteration-count-index

    包含所用迭代数量的列索引。

  • hash-encoding

    指定哈希表示法。允许的值:

    • base64 (默认)
    • hex
  • salt-encoding

    指定 salt 的表示法。允许的值:

    • base64 (默认)
    • hex

交换挑战响应身份验证机制用于哈希处理。

modular-crypt-mapper

  • password-index

    包含加密密码的列的索引。

模块加密编码允许使用单一字符串对多段信息进行编码,如密码类型、散列或摘要、salt 和迭代计数。





修订了 2022 年 2 月 18 日:24:54 +1000