Overview
Learn how to implement a multi-scheme password hashing system in Rust for web applications. Explore the implementation of HMAC/SHA512 as Scheme 1 and Argon2 as Scheme 2, featuring seamless auto-upgrade between schemes and static dispatch. Follow along as the tutorial covers base hash and validation functions, scheme infrastructure, web login implementation, and the transition from dynamic to static dispatch. Gain insights into creating a secure and efficient password system for Rust web applications through this comprehensive coding demonstration.
Syllabus
- - Intro
- 01:23 - C01.1 - Base hash and validation function
- 10:00 - C01.2 - Scheme infra
- 17:14 - C01.3 - Scheme 1 - hmac/sha512
- 36:33 - C02.1 - Scheme 2 - Argon2
- 51:40 - C02.2 - Web Login & Auto Scheme Upgrade
- 55:41 - C03 - Static Dispatch from Dynamic Dispatch
Taught by
Jeremy Chone