daqing

PB2的密码存储没有加Salt

  •  
  •   daqing · Feb 14, 2012 · 11012 views
    This topic created in 5383 days ago, the information mentioned may be changed or developed.
    今天读PB2代码发现的,直接用SHA1保存的。
    2 replies  •  1970-01-01 08:00:00 +08:00
    ayanamist
    ayanamist
    Feb 14, 2012
    1
    估计当时@Livid 没考虑到这个问题吧。
    加salt的目的是防止字典攻击,利用已有的密码和hash结果来寻找弱密码。不是为了反向破解。
    m1a0
    m1a0
    Feb 14, 2012
    2
    开源项目还是采用动态salt比较好啊, 使用彩虹表来攻击弱密码成本还是很低的。
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   1191 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 28ms · UTC 17:41 · PVG 01:41 · LAX 09:41 · JFK 12:41
    ♥ Do have faith in what you're doing.