douqiao2008 2011-12-06 21:59
浏览 22

裁剪的哈希是否更难破裂?

Cropping a hash should mean losing some of the data it represents so I was wondering if cropped hashes are harder to crack and more specifically if storing cropped password hashes for user authentication is an idea worth examining.

  • 写回答

4条回答 默认 最新

  • dongxing2710 2011-12-06 22:03
    关注

    Take this idea to its extreme: assume you're storing only the first hex character of your hashed passwords.

    All your users' passwords would hash into one of sixteen values:

    0
    1
    2
    3
    4
    5
    6
    7
    8
    9
    A
    B
    C
    D
    E
    F
    

    I'll admit that it would be very difficult for John The Ripper to brute-force decode these passwords, but it would also let someone guess another user's password in about eight tries on average.

    Ooops.

    If anything, you should store longer hashes. Salt well instead.

    评论

报告相同问题?

悬赏问题

  • ¥20 机器学习能否像多层线性模型一样处理嵌套数据
  • ¥20 西门子S7-Graph,S7-300,梯形图
  • ¥50 用易语言http 访问不了网页
  • ¥50 safari浏览器fetch提交数据后数据丢失问题
  • ¥15 matlab不知道怎么改,求解答!!
  • ¥15 永磁直线电机的电流环pi调不出来
  • ¥15 用stata实现聚类的代码
  • ¥15 请问paddlehub能支持移动端开发吗?在Android studio上该如何部署?
  • ¥20 docker里部署springboot项目,访问不到扬声器
  • ¥15 netty整合springboot之后自动重连失效