8. Hashing Password using bcrypt | Node JS API Authentication

Поділитися
Вставка
  • Опубліковано 19 гру 2024

КОМЕНТАРІ • 34

  • @onigbindedavid6630
    @onigbindedavid6630 6 місяців тому +1

    One of d most simplest explanation on crypt so far.. did u also make a video to compare???

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

    OMG! Super clear - good quality code! no starting in English with an English title and then moving to some Indian language with doors banging in the background. You got a new subscriber

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

    Excellent video! I loved how you explained why you were doing everything as you were doing it

  • @shivamkumarjha3302
    @shivamkumarjha3302 4 роки тому +2

    Hi, I have not seen devloper like you, who is fluent in working in android Devlopment and web development both. Keep going.

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

    can i ask what font are you using in this video?

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

    what is the font family of your vs code?

  • @nicogarcia7302
    @nicogarcia7302 3 роки тому

    Finally worked, awesome explanation!! thank you :)

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

    which color theme???

  • @sairampyla7285
    @sairampyla7285 4 роки тому +1

    Thanks a lot man it worked 👍 for me

  • @ankitwatts1918
    @ankitwatts1918 3 роки тому

    Bahut bahut dhanya baad

  • @kn_shorts_01
    @kn_shorts_01 4 роки тому

    Hey can you explain this, i have a question as we know, we can make many models and dao to store different data in a room database but when we want to save different list of data at runtime so how can we save it to same Room Database which having single dao interface and model class.
    let's take an example : if we have a notes application and in that we have categories like private, personal etc which we are creating at runtime. So how can i save all the categories of data in a one room database. Is is possible

  • @naorii578
    @naorii578 3 роки тому

    How bcrypt for update? Not working with pre('save')

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

    Cool video! Thanks!!

  • @alibaba888
    @alibaba888 3 роки тому

    is "next()" necessary in "User.model.js" line 23? Currently we don't have any middleware to pass it to so I didn't include it in my code and it works perfectly fine. Curious on the answer

    • @mafiacodes
      @mafiacodes  3 роки тому

      I guess it’s required but if it is working without it then also I suggest keeping it, since you may need to call the error handler in case necessary

  • @khushboogoyal27
    @khushboogoyal27 3 роки тому

    @yoursTRULY Hey if I want to include forgot password in it, then how should i update that password, by declaring pre function in model or by just doing it in controllers?

    • @mafiacodes
      @mafiacodes  3 роки тому +1

      ua-cam.com/video/72JYhSoVYPc/v-deo.html

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

    Hey bro, how do you decrypt the password after you take it back to check if your user has provided the proper credentials?

    • @Henok-qn6nc
      @Henok-qn6nc Рік тому

      you can't decrypt a hashe string.... you can only compare it!

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

      Yup, I learnt that but forgot to come back and comment. Maybe I'll leave it here for others who might be having the same doubt. @@Henok-qn6nc

    • @Henok-qn6nc
      @Henok-qn6nc Рік тому

      @@aadityakiran_s cool

  • @roccodenicolo3921
    @roccodenicolo3921 4 роки тому

    why we need an async function ??

    • @mafiacodes
      @mafiacodes  4 роки тому

      Since we’re using await inside that function

    • @platek549
      @platek549 4 роки тому

      we need this simply for 1 reasone function must "wait" for response from our database

  • @ADITYAKUMARking
    @ADITYAKUMARking 4 роки тому

    how to validate it again when user signs in?

    • @mafiacodes
      @mafiacodes  4 роки тому

      It’s there is the tutorial series

  • @rayventhakur3262
    @rayventhakur3262 3 роки тому

    "bcrypt is not defined" i am getting this error.

    • @mafiacodes
      @mafiacodes  3 роки тому +1

      are you sure u installed bcrypt ?

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

    How to decrypt bcrypt code?

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

      Bcrypt is hashing algorithm, and it is only one way

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

    How to decrypt it again?