예제
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