我正在設(shè)置一個(gè)新的 Fedora 29 盒子,并想從 python 創(chuàng)建 BLF-CRYPT 密碼。我想創(chuàng)建 $2y$ 哈希,但無(wú)論我嘗試什么,它都不會(huì)超過 $2b$。最初它只做了 $2a$。因此我發(fā)出:pip uninstall py-bcryptpip install passlibpip install bcrypt密碼由以下人員創(chuàng)建:from passlib.hash import bcrypthashed = bcrypt.using(rounds=14).hash("test")hash'$2b$14$9sAGvDrV0YEF3BBbofYCz.dNSaJZRDw2vfkFDY/5cwQzAxMNP4MVO'如何創(chuàng)建 $2y$ 哈希?
添加回答
舉報(bào)
0/150
提交
取消