bcrypt 密碼雜湊

使用盐值和可配置的計算成本派生密碼雜湊或金鑰。 成本越高,計算耗时通常越長。

輸入: 文本結果: 文本

文本輸入

執行後查看結果

範例

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-2025

Expected checks

Bcrypt compare recovers:
Match: demo-release-2025
轮數
4
A weather-station demo password

輸入

public-weather-demo

Expected checks

Bcrypt compare recovers:
Match: public-weather-demo
轮數
4
A public training passphrase

輸入

never-use-example-password

Expected checks

Bcrypt compare recovers:
Match: never-use-example-password
轮數
4
A punctuation-sensitive password

輸入

demo!with#punctuation

Expected 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

相关工具

加密 / 編碼

操作参考

查看原始技术文檔 (English)