django-hash:auth_user表中的Django哈希和验证(pbkdf2_sha256)密码

时间:2021-04-29 09:29:05
【文件属性】:
文件名称:django-hash:auth_user表中的Django哈希和验证(pbkdf2_sha256)密码
文件大小:2KB
文件格式:ZIP
更新时间:2021-04-29 09:29:05
JavaScript Django的哈希 在由django admin创建的auth_user表中哈希并验证密码。 安装 npm i django-hash 如何散列 const djangoHash = require ( 'django-hash' ) ; const password = 'p@ssw0rd' ; djangoHash . hash ( password ) . then ( hash => { console . log ( 'Hashed: ' , hash ) ; } ) . catch ( err => console . log ( err ) ) ; // Hashed: pbkdf2_sha256$100000$hxtU/X2nCSo=$WREDUhqfScrEya9kjkHtK/T4hhRG1Y22roZS2EkJSWU= 如何验证 const djan
【文件预览】:
django-hash-master
----README.md(987B)
----index.js(1KB)
----package.json(404B)

网友评论