px普贤教程PuXian
普贤教程 › 包参考

bcrypt 包

bcrypt

bcrypt64 字母表

项值
包名bcrypt
版本0.2.0
可用版本0.1.0 / 0.2.0
入口bcrypt.px
分类认证与安全
文件数 / 行数1 / 482

安装与引入

bash
pxpkg init          # 首次
pxpkg add bcrypt@0.2.0
pxpkg install
px
import bcrypt
所属分类教程:认证与安全
其余 21 个 def(内部与辅助,可直接调用但不属稳定接口)
函数参数
bc_hexvc
bc_hexwordh
bc_new_state
bc_encipherst, l, r
bc_expandst, key_words
bc_eks_saltedst, key_words, salt_words
bc_key_wordsdata, size = 18
bc64_encodedata
bc64_idxc
bc64_decodes
bc_rawpassword, salt16, cost
bc_hashpassword, cost, salt22
bc_verifypassword, hash_str
bc_gensaltcost
bc_costhash_str
bc_salthash_str
bc_hash_bodyhash_str
bc_versionhash_str
bc_infohash_str
bc_needs_rehashhash_str, target_cost
bc_hash_withpassword, cost

包内说明(源码头注释)

text
bcrypt64 字母表