Secure Web Apps: Password Authentication in Go with Argon2id
Автор: Make Programming Fun Again
Загружено: 2024-03-30
Просмотров: 1456
00:00 Introduction
00:23 How password hashing works
01:17 Installing Argon2id library for Go
01:42 Argon2id presentation and demonstration
02:52 What we are going to build
03:18 Setting up types
04:24 Implement UserStore, InsertUser()
06:22 Test database setup
07:06 Writing a Makefile
07:43 Add guard target to Makefile
09:03 Install `testify`
09:22 Set up `StoreTestSuite`
10:43 Add examples for `UserStore`
12:00 Running tests
12:31 Testing user count
13:49 Implementing `GetUserByEmail`
14:40 Testing `GetUserByEmail`
15:55 Implementing `CheckPassword`
17:20 Building `UserService`
18:42 Testing `UserService`
20:57 Conclusion
Project source code: https://github.com/moroz/goma/
Video starts at tag 2024-03-03: https://github.com/moroz/goma/tree/20...
Argon2id website: https://pkg.go.dev/github.com/alexedw...
Testify website: https://pkg.go.dev/github.com/stretch...
Доступные форматы для скачивания:
Скачать видео mp4
-
Информация по загрузке: