Godot Multiplayer - Salting and Hashing Passwords | Godot Dedicated Server #9

Опубликовано: 09 Октябрь 2024
на канале: Game Development Center
6,120
296

In this Godot Multiplayer Tutorial, I will be teaching you some bad practices, seriously. I will teach you how to secure password storage on multiplayer servers by salting and hashing passwords. Normally we would use a slow hashing function for this, but GDScript doesn't have one integrated.

Therefore, as an alternative, we will make our own slow hashing function using one of the core elements of bcrypt. This (making your own function) is not advisable and generally advised against.

Keep an eye out for patch notes of future Godot releases, so you know when you can replace this code with something more robust.

0:00 Intro
0:31 Hashing Functions
1:06 Brute Force Attack
3:55 Dilemma & Bad Practice
5:24 Salting & Hashing
10:30 Demonstration
12:47 Adjusting Login Code
16:33 Outro

⬧⬧⬧⬧⬧ GDC TUTORIALS ⬧⬧⬧⬧⬧
I believe educational material should be available to all, for free
Support this vision by joining the GDC-Club and get perks in return
   / gamedevelopmentcenter  
  / gamedevelopmentcenter  

⬧⬧⬧⬧⬧ LEARN MORE GAMEDEV ⬧⬧⬧⬧⬧
These books have helped me in my game design and programming, I whole fully recommend them to you!
Level Up! The Guide to Great Video Game Design ►► https://amzn.to/3hIg6dE
Game Programming Patterns ►► https://amzn.to/35IoDsH
The Art of Game Design: A Book of Lenses ►► https://amzn.to/35MSHoU

⬧⬧⬧⬧⬧ LIVESTREAMS ⬧⬧⬧⬧⬧
I Livestream game development twice a week right here on YouTube.
Subscribe and hit that Bell Icon to make sure you don't miss it!
https://www.youtube.com/c/GameDevelop...

Tuesday and Thursday
1900 to 2200 (GMT+1/2 (winter/summertime), that's;
1200 to 1500 (PST), or
1500 to 1800 (EST).

⬧⬧⬧⬧⬧ COMMUNITY & SOCIAL ⬧⬧⬧⬧⬧
Join the community! Follow me on Social!
DISCORD ►►   / discord  
TWITTER ►►   / gamedevstefan  

⬧⬧⬧⬧⬧ ABOUT GDC ⬧⬧⬧⬧⬧
GDC, Game Development Center, was created to provide in-depth tutorials on game design theory and game development using the Godot Game Engine. I aim for multi-part Godot tutorials, allowing me to dive deeper into Godot's features.

⬧⬧⬧⬧⬧ ASSETS USED ⬧⬧⬧⬧⬧
https://opengameart.org/content/isome...
https://opengameart.org/content/icicl...
https://opengameart.org/content/isome...
https://www.gamedevmarket.net/asset/p...

⬧⬧⬧⬧⬧ DISCLAIMER ⬧⬧⬧⬧⬧
Some of these links go to one of my websites and some are affiliate links where I'll earn a small commission if you make a purchase at no additional cost or disadvantage to you. You will receive the same price and service.