Best Practices for Password Hashing That You Need To Know!

Опубликовано: 26 Июнь 2026
на канале: Skill Foundry
2,794
83

Have you ever wondered how password hashing works? In this video, Eric demonstrates how to use the Argon2 hashing algorithm in C# to create accounts and verify login passwords with random salt values.

This example is taken from Skill Foundry's C# 300 level course. If you want to learn more like this, check out our courses!
https://www.skillfoundry.io/csharp-de...

----
Table of Contents

00:00-00:43 Hashing vs Encryption
00:43-01:18 Password Hashing Workflow
01:18-01:50 A Word of Warning
01:50-02:55 Overview of Starting Code
02:55-04:15 Choosing a Hashing Algorithm
04:15-05:08 Adding the Konscious Argon2 Package
05:08-08:53 Setup
08:53-09:58 Creating a Random Salt
09:58-11:35 Salt Values Explained
11:35-15:03 Hashing a Password with Salt
15:03-15:51 Why Convert.ToHexString()?
15:51-18:21 Verifying a Password
18:21-19:44 Creating a New Login
19:44-20:48 Saving and Loading the File
20:48-22:37 Running the Application
22:37-22:58 Outro


💬 Did you like this video? Let us know in the comments below!

✅ Click here to subscribe to Skill Foundry now!
   / @skillfoundryio  

👩‍💻 Join Our Coding Community on Discord!
Connect with peers, talk about tech, and share your learning journey.
Join here:   / discord  

📍 Like the Channel? Sign up for the Newsletter!
https://newsletter.skillfoundry.io/

💥 Learn to Code the Right Way! Our full-stack C# developer pathway provides over 700 learner hours of effort and rigor with over 80 practice projects, 150 lessons, and over a dozen capstone projects that challenge you to design and build applications from scratch.

https://www.skillfoundry.io/

📬 Contact us anytime!
[email protected]

---------------
Welcome to the official YouTube channel of Skill Foundry! With over 20 years of professional experience, Eric and the team deliver unbiased information and advice to beginners and early career developer professionals.

Learn to code the right way!

We believe that highly technical skills are learned best with a combination of real subject matter experts, learning science professionals, well written curriculum and projects, compassionate mentorship, and an enthusiastic community.

Our team has crafted and delivered technical training for over a decade, creating curriculums for Fortune 500 companies, universities, and coding bootcamps across the globe. This rigorous curriculum is now available direct to individuals for the first time.

So, hit the subscribe button and turn on the notification bell so you won't miss any new videos! 🔔

---------------
#skillfoundry #codingforbeginners #passwordsecurity #education #educational