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)