Argon2 雜湊比对

Check a candidate password against an encoded Argon2 hash. A wrong password, an invalid hash and a browser computation limit produce distinct results.

輸入: 文本結果: 文本

文本輸入

執行後查看結果

範例

驗證 OpenSSL 產生的 Argon2id 密語

輸入

correct horse battery staple

Expected answer

Match

已編碼雜湊
$argon2id$v=19$m=1024,t=2,p=1$cHVibGljLWRlbW8tc2FsdA$xopcIYSeu4N6i+rjg7AxFvOXEbyK/YZMCfJFidUmBRY
只改動同一密語的一個大寫字母

輸入

Correct horse battery staple

Expected answer

No match

已編碼雜湊
$argon2id$v=19$m=1024,t=2,p=1$cHVibGljLWRlbW8tc2FsdA$xopcIYSeu4N6i+rjg7AxFvOXEbyK/YZMCfJFidUmBRY
保留末尾空格的意義

輸入

correct horse battery staple 

Expected answer

No match

已編碼雜湊
$argon2id$v=19$m=1024,t=2,p=1$cHVibGljLWRlbW8tc2FsdA$xopcIYSeu4N6i+rjg7AxFvOXEbyK/YZMCfJFidUmBRY
用 Argon2i 驗證 café

輸入

café

Expected answer

Match

已編碼雜湊
$argon2i$v=19$m=1024,t=2,p=1$cHVibGljLWRlbW8tc2FsdA$T4UGPz3nW1UQrrK140Th0Nwt8/YPK2+3L4uREHuJyqA
比較外觀相同但位元組不同的 Unicode

The candidate uses a separate combining accent; the fixture uses precomposed é.

輸入

café

Expected answer

No match

已編碼雜湊
$argon2i$v=19$m=1024,t=2,p=1$cHVibGljLWRlbW8tc2FsdA$T4UGPz3nW1UQrrK140Th0Nwt8/YPK2+3L4uREHuJyqA
區分損壞的雜湊與錯誤密碼

輸入

public-example

Expected rejection

Message contains
Invalid or unsupported Argon2 encoded hash.
已編碼雜湊
$argon2id$v=19$m=1024$broken
拒絕申請近 1 TiB 記憶體的雜湊

輸入

public-example

Expected rejection

Message contains
Browser limit: Argon2 requires at most 64 MiB, 10 iterations, 4 lanes and 256 MiB-passes.
已編碼雜湊
$argon2id$v=19$m=999999999,t=2,p=1$cHVibGljLWRlbW8tc2FsdA$xopcIYSeu4N6i+rjg7AxFvOXEbyK/YZMCfJFidUmBRY
Argon2 compare

Reproduce this published regression case and compare the exact result. Argon2 compare.

輸入

argon2password

Expected answer

Match

已編碼雜湊
$argon2i$v=19$m=4096,t=3,p=1$c29tZXNhbHQ$s43my9eBljQADuF/LWCG8vGqwAJzOorKQ0Yog8jFvbw

相关工具

雜湊

操作参考

查看原始技术文檔 (English)