Python's safest method to store and retrieve passwords from a database

后端 未结 5 1293

Looking to store usernames and passwords in a database, and am wondering what the safest way to do so is. I know I have to use a salt somewhere, but am not sure how to gene

5条回答
  •  死守一世寂寞
    2020-12-04 11:02

    If you have enough control over both endpoints of the application, the absolute best way is using PAK-Z+.

    (Edited: the original version recommended SRP but PAK-Z+ has a proof of security.)

提交回复
热议问题