Skip to content
03Distributed Ledger StudioPSUT · Blockchain for IoT
Distributed Ledger Studio

CR66 · Password hashing: salt and cost

PBKDF2-HMAC-SHA256 derives a key from a password, salt and iteration count. Different salts make identical passwords yield different derived values. A salt need not be secret; it should be unique and randomly generated in practice. Higher iteration counts increase work; these intentionally low classroom values are not production recommendations. Use synthetic credentials only. The same synthetic password with salts lab-salt-0000001 and lab-salt-0000002 yields different 256-bit derived keys. Verification repeats derivation with the original parameters.

Available on another course website

Full content is maintained in IoT Security and Privacy. Configure its deployment URL in course-hosts.js.

Open owning course →

Return to this course catalogue