package
Version:
v0.24.0
Opens a new window with list of versions in this module.
Published: Jan 18, 2023
License: Apache-2.0
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Compare 使用bcrypt算法判断密码是否与传入hash值匹配
Encrypt 使用bcrypt算法将明文密码哈希得到hash字符串
bcrypt算法在对同一个密码哈希多次会得出不同结果,极大的保证了用户密码的安全
Password 实现String方法,打印时自动替换为*
Source Files
¶
Click to show internal directories.
Click to hide internal directories.