全部书籍

专业

应用 关于 Coach 登录 开始阅读

书籍暂未推出简体中文版——当前显示英文版。

Computer Science · 术语表

什么是 Password hashing, salt, key-derivation function?

又称: password hashing · salt · key-derivation function

Definition 28.11 University Computer Science — Year 3 · 第 28 章 — Public-Key Cryptography and Secure Protocols

Password hashing stores, for each account, not the password but the output of a deliberately slow function of it, so that a stolen table can only be attacked by guessing, one costly guess at a time. A salt is a random value stored with each account and hashed with its password, so that equal passwords give different stored values and no guess can be tested against all accounts at once. A key-derivation function derives keys from a secret: HKDF from a secret that is already random, and PBKDF2 or scrypt from a password, with a cost parameter that sets the work per guess.

在原文中阅读 →