案例
Hash public demonstration input with a fresh random salt, then verify it. Cost 4 keeps these examples quick and is not a production password-storage recommendation.
A release-bot demo password
输入
demo-release-2025Expected checks
Bcrypt compare recovers:
Match: demo-release-2025- 轮数
4
A weather-station demo password
输入
public-weather-demoExpected checks
Bcrypt compare recovers:
Match: public-weather-demo- 轮数
4
A public training passphrase
输入
never-use-example-passwordExpected checks
Bcrypt compare recovers:
Match: never-use-example-password- 轮数
4
A punctuation-sensitive password
输入
demo!with#punctuationExpected checks
Bcrypt compare recovers:
Match: demo!with#punctuation- 轮数
4
A trailing-space password
输入
demo-trailing-space Expected checks
Bcrypt compare recovers:
Match: demo-trailing-space - 轮数
4