Hashing Passwords in Node and Express using bcrypt

Поділитися
Вставка
  • Опубліковано 1 лют 2025

КОМЕНТАРІ • 71

  • @samyakjain7714
    @samyakjain7714 Місяць тому +2

    Just the exact amount of information needed to understand the essence bcrypt and practical explanation so it becomes more clearer in the aspect of code writing. Thank You Sam

  • @samsorge27
    @samsorge27 2 роки тому +11

    I'm amazed how fast you spin up these little express applications to illustrate your point

  • @kemal_ozturk
    @kemal_ozturk 2 роки тому +19

    I love the little co-pilot interactions lol

  • @colbr6733
    @colbr6733 2 роки тому +7

    Thought I already had a good understanding of this theme, however this review uncovers aspects I wasn't aware of. Thanks Sam.

  • @RizaHariati
    @RizaHariati 11 днів тому

    Simple straight to the point explaining, my fave kind of explaining. Thank you

  • @mr_weirdo
    @mr_weirdo Місяць тому

    Just the right amount of information in the right amount of time. Thank you sam

  • @vernevens1598
    @vernevens1598 8 місяців тому +2

    Very good video. Simple, to the point without a bunch of clutter, very easy to understand. Thank you.

  • @kevgmei
    @kevgmei 4 місяці тому

    Thanks, m'dude! I can get lost in long guides, but this video makes things really clear, and hashing feels pretty easy now! I also love the clear practical demos!

  • @sirrobinhood3409
    @sirrobinhood3409 3 місяці тому

    Awesome simplified version of what I really needed to know. Keep up the great work!

  • @APDesignFXP
    @APDesignFXP 4 місяці тому

    Actually had to code my own auth system for a very light app, and I wanted a quick way to store passwords safely, ur video really helped me.

  • @matthewc.9437
    @matthewc.9437 2 роки тому +4

    You're a wonderful teacher. Appreciate the video.

  • @ferreiradelima96
    @ferreiradelima96 11 місяців тому +2

    Your're an excellent teacher.

  • @phillymontana
    @phillymontana Рік тому +1

    Really good introduction to bcrypt.

  • @CheapYan
    @CheapYan 13 днів тому

    just want to say thank you🤩nice video

  • @salmanshahzad2496
    @salmanshahzad2496 4 місяці тому

    watching from Pakistan this video was really helpful. And got to learn many things

  • @vinaykumarkharwar177
    @vinaykumarkharwar177 Рік тому

    Thank you, that was such a great short introduction, albeit knowledgeful.

  • @em-kv3lw
    @em-kv3lw 11 місяців тому

    Thank you so much! Super helpful beginner friendly guide.

  • @mohammadaitisamyaseen2564
    @mohammadaitisamyaseen2564 Рік тому

    Much appreciated! Your video helped me alot. Great teaching method 👍

  • @KhoaNguyen-TinhYeuLaGi
    @KhoaNguyen-TinhYeuLaGi 6 місяців тому

    Nice video , easy understand ! Thank you !

  • @cheesepotato5753
    @cheesepotato5753 Рік тому

    this video made me understand res and req holy cow

  • @BrandonDix-gw7ez
    @BrandonDix-gw7ez 2 роки тому +1

    Great Video, great teaching style

  • @sofiatachmatzidou175
    @sofiatachmatzidou175 2 роки тому +1

    This was awesome! Thank you!

  • @rohbarsch1201
    @rohbarsch1201 Рік тому

    I'm not using JS but this was an excellent tutorial. I'm most curious about the postman add on for vs code.

  • @HarisKhan-bh6uj
    @HarisKhan-bh6uj Рік тому

    Thanks for the helpful video !! helped a lot !!

  • @Muwahid999
    @Muwahid999 4 місяці тому

    Excellent video.

  • @youssefahmed8861
    @youssefahmed8861 Рік тому

    definetly liked this video 👏

  • @MostafaDeutsch-ex2kb
    @MostafaDeutsch-ex2kb Рік тому

    Very clear and smart

  • @alexdiffodoumtsop3405
    @alexdiffodoumtsop3405 Рік тому

    awesome video. thanks dude!

  • @vladimirpuma6079
    @vladimirpuma6079 10 місяців тому

    Great video, thanks!!!

  • @technocoh
    @technocoh 10 місяців тому

    Great video, thanks! ;)

  • @bigbadcatbigbcy2933
    @bigbadcatbigbcy2933 Рік тому

    thanks everything was so celar to understand

  • @prabhakarmishra2182
    @prabhakarmishra2182 Рік тому

    u explained it very well, do you have courses ?

  • @mateusmiguel_
    @mateusmiguel_ Рік тому +2

    is it safe to send the password in the request as plain text? couldn't an unsecured wifi network easily intercept the call and steal the password?

  • @pxycknomdictator4483
    @pxycknomdictator4483 5 місяців тому

    All doughs cleared()

  • @philipparker113
    @philipparker113 Рік тому

    Awesome video

  • @frfrongong9712
    @frfrongong9712 Рік тому +2

    I cant use await on my bcrypt.compare function, itd already inside an async function, can i get some help

  • @yunqian3939
    @yunqian3939 3 місяці тому

    I am currently building a student project, responsible for member management,register and login logout. I made fake users table, at first only plain text and then I were suggested to use bcrypt. I generate bcrypts and store them back into the database, but I have to inpkut the bcrypt to login, I cannot use plain text to login. That’s very weired!

  • @samontefrankamirsong.5474
    @samontefrankamirsong.5474 11 місяців тому

    Outrageous - VLDL Benjamin

  • @unhandledexception1948
    @unhandledexception1948 Рік тому

    @ 1:26 you are awaiting in a top level script / module without using an async IIFE... I thought that is not possible ?

    • @SamMeechWard
      @SamMeechWard  Рік тому +1

      It’s fine if you’re using es modules

    • @unhandledexception1948
      @unhandledexception1948 Рік тому

      Thanks ! Yes, I noticed this didn't work when using require() @@SamMeechWard

  • @samontefrankamirsong.5474
    @samontefrankamirsong.5474 11 місяців тому

    I am your biggest fan Christ Martin from Coldplay! omg

  • @vaibhavgupta973
    @vaibhavgupta973 Рік тому

    thank you !!

  • @solehudin6861
    @solehudin6861 7 місяців тому

    What software / app is that? Visual studio code?

  • @BrandonAB
    @BrandonAB 9 місяців тому

    I'm curious, without knowing exactly how the hashing algo does its thing, couldn't I just make up my own algo where a = 5236, b = 5267, c = 4523, so on and so forth, assigning each allowable character a value, then taking those values and do several other things with the result to make the process consistently repeatable so I can compare the result of my "hashing algo" with the original password, instead of using a publicly available tool like bcrypt? What would be the downside to this?

    • @matissjansons8789
      @matissjansons8789 5 місяців тому

      You're confusing hashing with encrypting

    • @BrandonAB
      @BrandonAB 5 місяців тому

      @@matissjansons8789 I never thought of it that way.

  • @Anteater23
    @Anteater23 10 місяців тому

    Should you not hash the password before you post it?

  • @db17db11
    @db17db11 Рік тому +1

    To use an await function with no async function es bien !!

  • @makisetakashi
    @makisetakashi 11 місяців тому

    which one is better between bcrypt and argon2 ?

  • @skyzane2735
    @skyzane2735 10 місяців тому

    Is this bcrypt still secure these days and standard in storing passwords?
    I saw you showed some docs saying use bcrypt as second only against argon2id something

  • @mjh3067
    @mjh3067 Місяць тому

    Cool man

  • @asaphhere
    @asaphhere 2 роки тому

    Btw is it bad to encrypt username as well? is it bad practice/even more complex?

    • @SamMeechWard
      @SamMeechWard  2 роки тому +1

      usernames aren't generally sensitive information, we display them publicly, so encryption isn't necessary and just takes more time. If you encrypt a username, you always need to decrypt it to use it. If you store it in a database, it makes looking up some data by a username way more difficult.
      Also, keep in mind, that bcrypt is hashing, not encrypting. If you hash a username, you'll never be able to get that username back, so never do that.

    • @asaphhere
      @asaphhere 2 роки тому

      @@SamMeechWard thank you and that makes sense. And also thank you for uploading content regarding AWS S3 and other services, you don’t understand how helpful they are. Is there any other way of contacting you?

    • @SamMeechWard
      @SamMeechWard  2 роки тому

      @@asaphhere Thank you. You can join my discord server if you like discord.gg/XQJ5bmjKHk

  • @xoldyckk176
    @xoldyckk176 2 роки тому

    Argon2 is the new recommended hashing algorithm. It's more secure than bcrypt.

  • @SumitSingh-rw2vl
    @SumitSingh-rw2vl 8 місяців тому

    which tool using in vs code to pull request ?

  • @WahYudi-ue2uh
    @WahYudi-ue2uh Рік тому

    how can you push on const user?. dont u have to use let user

  • @ikechukwualita521
    @ikechukwualita521 Рік тому

    good job. Please how can i do this in php mysql

  • @db17db11
    @db17db11 Рік тому

    It should b > npm i bcryptjs

  • @obidkenjayev7062
    @obidkenjayev7062 Рік тому

    Good

  • @SamuelAmoh-bu7vg
    @SamuelAmoh-bu7vg 7 місяців тому

    not working for me

  • @mastuyt6931
    @mastuyt6931 Рік тому

    what the hell is going on ?? how can you use await without async???/

  • @aprilm2941
    @aprilm2941 2 роки тому +1

    I only like hash if it’s got potato in it. 🥔

    • @SamMeechWard
      @SamMeechWard  2 роки тому +7

      Just don’t forget to add salt ;)

  • @Babycheeks-xd9mb
    @Babycheeks-xd9mb 5 місяців тому

  • @zzn-wc7nx
    @zzn-wc7nx Рік тому

    He's handsome i can't focus sos 🥲