汇集我们当前可提供的最快哈希优化实现,提供性能对比、源码下载与验证工具,便于评估、集成和复现。Explore the fastest hash implementations we currently offer, with performance comparisons, source downloads and verification tools for evaluation, integration and reproducibility.
GCC 14.2,统一编译参数 -O3 -march=x86-64 -mavx2 -mtune=native -flto -fomit-frame-pointer -std=c99 -Wpedantic -Wall -Wextra(参考侧 -O2);主机 Intel Core i7-14650HX(24 核 / 16 GB),WSL2 / x86-64 AVX2。
GCC 14.2 with -O3 -march=x86-64 -mavx2 -mtune=native -flto -fomit-frame-pointer -std=c99 -Wpedantic -Wall -Wextra (reference side -O2); host Intel Core i7-14650HX (24 cores / 16 GB), WSL2 / x86-64 AVX2.
加速比为 8 档消息长度(32 B–64 KB)的几何平均;rdtsc(TSC 代理)计时,我方与基线独立进程分别测量,多次会话取中位后判定;全部实例通过官方 KAT(4097 向量)。 Speedup is the geometric mean over eight message sizes (32 B–64 KB); rdtsc (TSC proxy) timing, ours and baseline measured in separate processes, verdicts set by median across repeated sessions; all instances pass the official KAT (4097 vectors).
| ID | 算法Algorithm | 实例Instance | 位长Bits | 实现形态Form | 计量(cpB · TSC 代理)Unit (cpB · TSC proxy) | 对比基线 @1024 BBaseline @1024 B | CryptCode 优化 @1024 BCryptCode-Opt @1024 B | GM× | 压缩包ZIP |
|---|---|---|---|---|---|---|---|---|---|
| hash-01 | AFS-TrEDM | AFS-TrEDM-1024 | 1024 | AVX2 C | cpB | 39.65 | 33.293 | 1.171× | ZIP 5.88 MB |
| hash-01 | AFS-TrEDM | AFS-TrEDM-512 | 512 | AVX2 C | cpB | 10.552 | 9.988 | 1.068× | ZIP 5.88 MB |
| hash-01 | AFS-TrEDM | AFS-TrEDM-768 | 768 | AVX2 C | cpB | 22.629 | 25.936 | 1.145× | ZIP 5.88 MB |
| hash-02 | AXIS | AXIS-1024 | 1024 | AVX2 C | cpB | 40.529 | 7.208 | 4.294× | ZIP 5.73 MB |
| hash-02 | AXIS | AXIS-512 | 512 | AVX2 C | cpB | 21.106 | 6.734 | 2.396× | ZIP 5.73 MB |
| hash-02 | AXIS | AXIS-768 | 768 | AVX2 C | cpB | 32.484 | 13.356 | 1.964× | ZIP 5.73 MB |
| hash-03 | C-HASH | C-HASH-1024 | 1024 | AVX2 C | cpB | 20.292 | 14.57 | 1.392× | ZIP 3.73 MB |
| hash-03 | C-HASH | C-HASH-512 | 512 | AVX2 C | cpB | 20.34 | 16.822 | 1.209× | ZIP 3.73 MB |
| hash-04 | CHAMP | CHAMP-1024 | 1024 | 标量 Cscalar C | cpB | 162.52 | 87.86 | 1.745× | ZIP 3.6 MB |
| hash-04 | CHAMP | CHAMP-512 | 512 | 标量 Cscalar C | cpB | 39.024 | 30.618 | 1.421× | ZIP 3.6 MB |
| hash-07 | Dragon | Dragon-512 | 512 | 标量 C glue + 标量汇编 baseline 核scalar C glue + scalar asm baseline core | cpB | 3.153 | 3.05 | 1.034× | ZIP 8.73 MB |
| hash-07 | Dragon | Dragon-XOF-256 | 1280 | 标量快置换(ARISPRD) + 参考 sponge 语义fast scalar permutation (ARISPRD) + reference sponge semantics | cpB | 14 † | 14.929 | 1.195× | ZIP 8.73 MB |
| hash-07 | Dragon | Dragon-XOF-384 | 1152 | 标量快置换(ARISPRD) + 参考 sponge 语义fast scalar permutation (ARISPRD) + reference sponge semantics | cpB | 17.379 † | 14.578 | 1.331× | ZIP 8.73 MB |
| hash-07 | Dragon | Dragon-XOF-512 | 1024 | 标量快置换(ARISPRD) + 参考 sponge 语义fast scalar permutation (ARISPRD) + reference sponge semantics | cpB | 21.878 † | 15.634 | 1.447× | ZIP 8.73 MB |
| hash-09 | Eijen | Eijen-512 | 512 | AVX2 C | cpB | 2.603 | 2.142 | 1.221× | ZIP 9.61 MB |
| hash-09 | Eijen | Eijen-256 | 256 | AVX2 C | cpB | 2.168 | 1.67 | 1.249× | ZIP 9.61 MB |
| hash-09 | Eijen | Eijen-384 | 384 | AVX2 C | cpB | 2.603 | 2.098 | 1.295× | ZIP 9.61 MB |
| hash-09 | Eijen | Eijen-768 | 768 | AVX2 C | cpB | 3.107 | 2.229 | 1.434× | ZIP 9.61 MB |
| hash-09 | Eijen | Eijen-1024 | 1024 | AVX2 C | cpB | 3.835 | 2.984 | 1.261× | ZIP 9.61 MB |
| hash-11 | Garnet | Garnet-768 | 768 | AES-NI C | cpB | 31 | 15 | 2.171× | ZIP 11.31 MB |
| hash-11 | Garnet | Garnet-512 | 512 | AES-NI C | cpB | 17.896 | 9.448 | 1.843× | ZIP 11.31 MB |
| hash-11 | Garnet | Garnet-512-Cap512 | 512 | AES-NI C | cpB | 29.108 | 15.117 | 1.824× | ZIP 11.31 MB |
| hash-11 | Garnet | Garnet-512-Cap640 | 512 | AES-NI C | cpB | 23.63 | 11.941 | 1.842× | ZIP 11.31 MB |
| hash-11 | Garnet | Garnet-512-Cap768 | 512 | AES-NI C | cpB | 19.484 | 11.029 | 1.801× | ZIP 11.31 MB |
| hash-11 | Garnet | Garnet-512-Cap896 | 512 | AES-NI C | cpB | 18.645 | 9.854 | 1.849× | ZIP 11.31 MB |
| hash-11 | Garnet | Garnet-1024 | 1024 | AVX2 C | cpB | 23.229 | 18.18 | 1.184× | ZIP 11.31 MB |
| hash-12 | Iphe | Iphe-512 | 512 | AVX2 C | cpB | 6.547 | 3.682 | 1.923× | ZIP 5.54 MB |
| hash-12 | Iphe | Iphe-768 | 768 | AVX2 C | cpB | 6.593 | 4.011 | 1.948× | ZIP 5.54 MB |
| hash-12 | Iphe | Iphe-1024 | 1024 | AVX2 C | cpB | 7.543 | 5.797 | 1.46× | ZIP 5.54 MB |
| hash-13 | JuziHash | JuziHash-1024 | 1024 | AVX2 C | cpB | 7.442 | 6.262 | 1.235× | ZIP 3.64 MB |
| hash-13 | JuziHash | JuziHash-512 | 512 | C | cpB | 7.233 | 4.44 | 1.611× | ZIP 3.64 MB |
| hash-14 | Laurus | Laurus-512 | 512 | 标量 Cscalar C | cpB | 5.259 | 4.849 | 1.091× | ZIP 7.44 MB |
| hash-14 | Laurus | Laurus-768 | 768 | 标量 Cscalar C | cpB | 6.287 | 5.933 | 1.067× | ZIP 7.44 MB |
| hash-14 | Laurus | Laurus-1024 | 1024 | 标量 Cscalar C | cpB | 8.837 | 8.087 | 1.024× | ZIP 7.44 MB |
| hash-14 | Laurus | Laurus-XOF | 2048 | 标量 C + 长度 shimscalar C + length shim | cpB | 6.003 | 5.239 | 1.1× | ZIP 7.44 MB |
| hash-16 | LLH | LLH-1024 | 1024 | AVX2 C | cpB | 11.65 | 9.327 | 1.205× | ZIP 3.44 MB |
| hash-16 | LLH | LLH-512 | 512 | AVX2 四行打包(24 行 / 6 个 ymm)AVX2 four-row packing (24 rows / 6 ymm) | cpB | 7.207 | 6.675 | 1.057× | ZIP 3.44 MB |
| hash-18 | MEGASCON | MEGASCON-384-XOF-256 | 256 | AVX2 15轮置换核 + 参考 sponge 语义AVX2 15-round permutation kernel + reference sponge semantics | cpB | 11.170 † | 5.024 | 2.254× | ZIP 16.40 MB |
| hash-18 | MEGASCON | MEGASCON-384-XOF-1024 | 1024 | AVX2 15轮置换核 + 参考 sponge 语义AVX2 15-round permutation kernel + reference sponge semantics | cpB | 10.782 † | 4.716 | 2.219× | ZIP 16.40 MB |
| hash-18 | MEGASCON | MEGASCON-384-XOF-2048 | 2048 | AVX2 15轮置换核 + 参考 sponge 语义AVX2 15-round permutation kernel + reference sponge semantics | cpB | 12.987 † | 5.687 | 2.171× | ZIP 16.40 MB |
| hash-18 | MEGASCON | MEGASCON-512-XOF-256 | 256 | AVX2 15轮置换核 + 参考 sponge 语义AVX2 15-round permutation kernel + reference sponge semantics | cpB | 12.868 † | 5.403 | 2.310× | ZIP 16.40 MB |
| hash-18 | MEGASCON | MEGASCON-512-XOF-1024 | 1024 | AVX2 15轮置换核 + 参考 sponge 语义AVX2 15-round permutation kernel + reference sponge semantics | cpB | 14.152 † | 6.016 | 2.223× | ZIP 16.40 MB |
| hash-18 | MEGASCON | MEGASCON-512-XOF-2048 | 2048 | AVX2 15轮置换核 + 参考 sponge 语义AVX2 15-round permutation kernel + reference sponge semantics | cpB | 14.895 † | 6.262 | 2.282× | ZIP 16.40 MB |
| hash-18 | MEGASCON | MEGASCON-384 | 384 | AVX2 15轮置换核 + 尾块按行直异或AVX2 15-round permutation kernel + row-wise direct XOR padding | cpB | 3.906 | 3.583 | 1.065× | ZIP 16.40 MB |
| hash-18 | MEGASCON | MEGASCON-512 | 512 | AVX2 15轮置换核 + 尾块按行直异或AVX2 15-round permutation kernel + row-wise direct XOR padding | cpB | 4.994 | 4.597 | 1.054× | ZIP 16.40 MB |
| hash-18 | MEGASCON | MEGASCON-768 | 768 | AVX2 16轮置换核 + 尾块按行直异或AVX2 16-round permutation kernel + row-wise direct XOR padding | cpB | 4.181 | 3.744 | 1.06× | ZIP 16.40 MB |
| hash-19 | MoFang | MoFang-1024 | 1024 | 标量 C glue + 手写 AVX2 汇编核(keys/state v3)scalar C glue + handwritten AVX2 asm core (keys/state v3) | cpB | 7.202 | 3.539 | 1.966× | ZIP 9.48 MB |
| hash-19 | MoFang | MoFang-768 | 768 | 标量 C glue + 手写 AVX2 汇编核(keys/state v3)scalar C glue + handwritten AVX2 asm core (keys/state v3) | cpB | 6.933 | 3.741 | 1.944× | ZIP 9.48 MB |
| hash-19 | MoFang | MoFang-512 | 512 | 标量 C glue + 手写 AVX2 汇编核(keys/state v3)scalar C glue + handwritten AVX2 asm core (keys/state v3) | cpB | 5.905 | 2.101 | 2.821× | ZIP 9.48 MB |
| hash-19 | MoFang | MoFang-256 | 256 | 标量 C glue + 手写 AVX2 汇编核(keys/state v3)scalar C glue + handwritten AVX2 asm core (keys/state v3) | cpB | 5.732 | 2.164 | 2.799× | ZIP 9.48 MB |
| hash-19 | MoFang | MoFang-256-XOF | 256 | 标量 C glue + 手写 AVX2 汇编核(keys/state v3)scalar C glue + handwritten AVX2 asm core (keys/state v3) | cpB | 6.25 | 2.144 | 2.936× | ZIP 9.48 MB |
| hash-19 | MoFang | MoFang-768-XOF | 768 | 标量 C glue + 手写 AVX2 汇编核(keys/state v3)scalar C glue + handwritten AVX2 asm core (keys/state v3) | cpB | 7.734 | 3.816 | 1.83× | ZIP 9.48 MB |
| hash-20 | Mozi | MOZI-384 | 384 | AVX2 汇编(256 位打包核 + 官方参考驱动)AVX2 assembly (256-bit packed kernel + vendor reference driver) | cpB | 2.821 | 2.691 | 1.084× | ZIP 17.56 MB |
| hash-20 | Mozi | MOZI-512 | 512 | SSE 位切片置换核(AVX2 VEX 编码,palignr 旋转)+ 官方外壳SSE bit-slice permutation kernel (AVX2 VEX encoding, palignr rotations) + vendor shell | cpB | 3.614 | 3.847 | 1.062× | ZIP 17.56 MB |
| hash-20 | Mozi | MOZI-768 | 768 | SSE 位切片置换核(AVX2 VEX 编码,palignr 旋转)+ 官方外壳SSE bit-slice permutation kernel (AVX2 VEX encoding, palignr rotations) + vendor shell | cpB | 3.711 | 3.719 | 1.068× | ZIP 17.56 MB |
| hash-20 | Mozi | MOZI-1024 | 1024 | SSE 位切片置换核(AVX2 VEX 编码,palignr 旋转)+ 官方外壳SSE bit-slice permutation kernel (AVX2 VEX encoding, palignr rotations) + vendor shell | cpB | 4.565 | 4.985 | 1.069× | ZIP 17.56 MB |
| hash-20 | MOZI | MOZI-384-XOF-256 | 256 | AVX2 置换核 + 参考 sponge 语义AVX2 permutation kernel + reference sponge semantics | cpB | 11.725 † | 2.657 | 4.256× | ZIP 17.56 MB |
| hash-20 | MOZI | MOZI-384-XOF-1024 | 1024 | AVX2 置换核 + 参考 sponge 语义AVX2 permutation kernel + reference sponge semantics | cpB | 12.544 † | 2.84 | 4.258× | ZIP 17.56 MB |
| hash-20 | MOZI | MOZI-384-XOF-2048 | 2048 | AVX2 置换核 + 参考 sponge 语义AVX2 permutation kernel + reference sponge semantics | cpB | 13.504 † | 3.177 | 4.056× | ZIP 17.56 MB |
| hash-20 | MOZI | MOZI-512-XOF-256 | 256 | AVX2 20轮置换核 + 参考 sponge 语义AVX2 20-round permutation kernel + reference sponge semantics | cpB | 14.362 † | 3.362 | 4.146× | ZIP 17.56 MB |
| hash-20 | MOZI | MOZI-512-XOF-1024 | 1024 | AVX2 20轮置换核 + 参考 sponge 语义AVX2 20-round permutation kernel + reference sponge semantics | cpB | 14.523 † | 3.536 | 4.087× | ZIP 17.56 MB |
| hash-20 | MOZI | MOZI-512-XOF-2048 | 2048 | AVX2 20轮置换核 + 参考 sponge 语义AVX2 20-round permutation kernel + reference sponge semantics | cpB | 16.402 † | 4.006 | 4.068× | ZIP 17.56 MB |
| hash-21 | Neulaser | Neulaser-512 | 512 | 标量 C 核 + volatile 写回(禁 SLP 合并),S 盒 __m256i 搬运包裹scalar C core + volatile writeback (SLP-merge blocked), sbox via __m256i moves | cpB | 33.93 | 23.912 | 1.322× | ZIP 5.04 MB |
| hash-21 | Neulaser | Neulaser-768 | 768 | 标量 C 核 + volatile 写回(禁 SLP 合并),S 盒 __m256i 搬运包裹scalar C core + volatile writeback (SLP-merge blocked), sbox via __m256i moves | cpB | 32.473 | 28.405 | 1.105× | ZIP 5.04 MB |
| hash-21 | Neulaser | Neulaser-1024 | 1024 | 标量 C 核 + volatile 写回(禁 SLP 合并),S 盒 __m256i 搬运包裹scalar C core + volatile writeback (SLP-merge blocked), sbox via __m256i moves | cpB | 39.313 | 31.046 | 1.258× | ZIP 5.04 MB |
| hash-22 | Pavelor | Pavelor-1024 | 1024 | 标量 Cscalar C | cpB | 2.416 | 2.106 | 1.1× | ZIP 5.02 MB |
| hash-22 | Pavelor | Pavelor-512 | 512 | 标量 Cscalar C | cpB | 0.817 | 0.746 | 1.087× | ZIP 5.02 MB |
| hash-22 | Pavelor | Pavelor-768 | 768 | 标量 Cscalar C | cpB | 1.041 | 1.13 | 1.09× | ZIP 5.02 MB |
| hash-23 | QILIN | QILIN-512 | 512 | AVX2 CAVX2 C | cpB | 4.946 | 4.181 | 1.1868× | ZIP 5.0 MB |
| hash-23 | QILIN | QILIN-768 | 768 | AVX2 CAVX2 C | cpB | 8.560 | 6.912 | 1.2317× | ZIP 5.0 MB |
| hash-23 | QILIN | QILIN-1024 | 1024 | AVX2 CAVX2 C | cpB | 13.110 | 10.521 | 1.2357× | ZIP 5.0 MB |
| hash-24 | QSH | QSH-512 | 512 | AVX2 C | cpB | 5.937 | 5.367 | 1.084× | ZIP 5.05 MB |
| hash-24 | QSH | QSH-768 | 768 | AVX2 C | cpB | 10.396 | 9.629 | 1.097× | ZIP 5.05 MB |
| hash-24 | QSH | QSH-1024 | 1024 | AVX2 C | cpB | 10.401 | 9.316 | 1.107× | ZIP 5.05 MB |
| hash-25 | TaiChi | TaiChi-512 | 512 | 标量 Cscalar C | cpB | 8.076 | 7.884 | 1.128× | ZIP 4.97 MB |
| hash-25 | TaiChi | TaiChi-1024 | 1024 | 标量 Cscalar C | cpB | 14.391 | 13.735 | 1.063× | ZIP 4.97 MB |
| hash-25 | TaiChi | TaiChi-768 | 768 | 标量 Cscalar C | cpB | 11.097 | 9.995 | 1.097× | ZIP 4.97 MB |
| hash-27 | Vedak | Vedak-1024 | 1024 | AVX2 打包半字节AVX2 packed nibbles | cpB | 25.111 | 20.759 | 1.12× | ZIP 5.07 MB |
| hash-27 | Vedak | Vedak-768 | 768 | C | cpB | 12.041 | 10.27 | 1.125× | ZIP 5.07 MB |
| hash-27 | Vedak | Vedak-512 | 512 | AVX2 打包半字节AVX2 packed nibbles | cpB | 7.96 | 6.901 | 1.136× | ZIP 5.07 MB |
| hash-29 | XRH-2 | XRH-2-768 | 768 | AVX2 汇编AVX2 assembly | cpB | 19.544 | 22.847 | 1.0853× | ZIP 3.78 MB |
| hash-29 | XRH-2 | XRH-2-1024 | 1024 | AVX2 汇编AVX2 assembly | cpB | 48.952 | 53.369 | 1.1033× | ZIP 3.61 MB |
| hash-30 | ZC-DM | ZC-DM-1536-512 | 512 | AVX2 汇编融合核(absorb+permute)+ C glueAVX2 asm fused core (absorb+permute) + C glue | cpB | 6.739 | 3.150 | 2.386× | ZIP 10.52 MB |
| hash-30 | ZC-DM | ZC-DM-1536-768 | 768 | AVX2 汇编融合核(absorb+permute)+ C glueAVX2 asm fused core (absorb+permute) + C glue | cpB | 8.880 | 4.259 | 2.220× | ZIP 10.52 MB |
| hash-30 | ZC-DM | ZC-DM-1536-1024 | 1024 | AVX2 汇编融合核(absorb+permute)+ C glueAVX2 asm fused core (absorb+permute) + C glue | cpB | 14.323 | 6.942 | 2.167× | ZIP 10.52 MB |
| hash-30 | ZC-DM | ZC-DM-1280-512 | 512 | AVX2 汇编融合核(absorb+permute)+ C glueAVX2 asm fused core (absorb+permute) + C glue | cpB | 2.930 | 2.313 | 1.3101× | ZIP 10.52 MB |
| hash-30 | ZC-DM | ZC-DM-1280-768 | 768 | AVX2 汇编融合核(absorb+permute)+ C glueAVX2 asm fused core (absorb+permute) + C glue | cpB | 4.662 | 4.110 | 1.1774× | ZIP 10.52 MB |
| hash-30 | ZC-DM | ZC-DM-1280-1024 | 1024 | AVX2 汇编融合核(absorb+permute)+ C glueAVX2 asm fused core (absorb+permute) + C glue | cpB | 11.184 | 9.729 | 1.1411× | ZIP 10.52 MB |
| hash-31 | ZC-DMC | ZC-DMC-1536-512 | 512 | AVX2 汇编融合核(absorb+permute)+ C glueAVX2 asm fused core (absorb+permute) + C glue | cpB | 10.896 | 5.372 | 2.133× | ZIP 10.55 MB |
| hash-31 | ZC-DMC | ZC-DMC-1536-768 | 768 | AVX2 汇编融合核(absorb+permute)+ C glueAVX2 asm fused core (absorb+permute) + C glue | cpB | 15.209 | 7.484 | 2.091× | ZIP 10.55 MB |
| hash-31 | ZC-DMC | ZC-DMC-1536-1024 | 1024 | AVX2 汇编融合核(absorb+permute)+ C glueAVX2 asm fused core (absorb+permute) + C glue | cpB | 23.461 | 11.685 | 2.087× | ZIP 10.55 MB |
| hash-31 | ZC-DMC | ZC-DMC-1280-512 | 512 | AVX2 汇编融合核(absorb+permute)+ C glueAVX2 asm fused core (absorb+permute) + C glue | cpB | 4.829 | 4.343 | 1.165× | ZIP 10.55 MB |
| hash-31 | ZC-DMC | ZC-DMC-1280-768 | 768 | AVX2 汇编融合核(absorb+permute)+ C glueAVX2 asm fused core (absorb+permute) + C glue | cpB | 7.152 | 6.329 | 1.1124× | ZIP 10.55 MB |
| hash-31 | ZC-DMC | ZC-DMC-1280-1024 | 1024 | AVX2 汇编融合核(absorb+permute)+ C glueAVX2 asm fused core (absorb+permute) + C glue | cpB | 13.609 | 11.911 | 1.1217× | ZIP 10.55 MB |
| hash-32 | ZC-EDMC | ZC-EDMC-1536-512 | 512 | AVX2 汇编融合核(absorb+permute)+ C glueAVX2 asm fused core (absorb+permute) + C glue | cpB | 6.668 | 3.695 | 2.000× | ZIP 10.55 MB |
| hash-32 | ZC-EDMC | ZC-EDMC-1536-768 | 768 | AVX2 汇编融合核(absorb+permute)+ C glueAVX2 asm fused core (absorb+permute) + C glue | cpB | 8.992 | 5.072 | 1.866× | ZIP 10.55 MB |
| hash-32 | ZC-EDMC | ZC-EDMC-1536-1024 | 1024 | AVX2 汇编融合核(absorb+permute)+ C glueAVX2 asm fused core (absorb+permute) + C glue | cpB | 14.418 | 7.910 | 1.868× | ZIP 10.55 MB |
| hash-32 | ZC-EDMC | ZC-EDMC-1280-512 | 512 | AVX2 汇编融合核(absorb+permute)+ C glueAVX2 asm fused core (absorb+permute) + C glue | cpB | 3.119 | 2.502 | 1.3384× | ZIP 10.55 MB |
| hash-32 | ZC-EDMC | ZC-EDMC-1280-768 | 768 | AVX2 汇编融合核(absorb+permute)+ C glueAVX2 asm fused core (absorb+permute) + C glue | cpB | 5.248 | 4.226 | 1.2363× | ZIP 10.55 MB |
| hash-32 | ZC-EDMC | ZC-EDMC-1280-1024 | 1024 | AVX2 汇编融合核(absorb+permute)+ C glueAVX2 asm fused core (absorb+permute) + C glue | cpB | 12.023 | 9.650 | 1.1937× | ZIP 10.55 MB |
| hash-33 | Thunder | Thunder-XOF-256 | 1280 | 快置换(tmacro 12轮) + 参考 sponge 语义fast permutation (tmacro 12 rounds) + reference sponge semantics | cpB | 20.87 † | 16.259 | 1.449× | ZIP 11.28 MB |
| hash-33 | Thunder | Thunder-XOF-384 | 1152 | 快置换(tmacro 12轮) + 参考 sponge 语义fast permutation (tmacro 12 rounds) + reference sponge semantics | cpB | 26.385 † | 15.885 | 1.641× | ZIP 11.28 MB |
| hash-33 | Thunder | Thunder-XOF-512 | 1024 | 快置换(tmacro 12轮) + 参考 sponge 语义fast permutation (tmacro 12 rounds) + reference sponge semantics | cpB | 39.064 † | 19.639 | 1.829× | ZIP 11.28 MB |
| hash-33 | Thunder | Thunder-512 | 512 | AVX2 12轮置换(行优先 5×5,4 lane + 1 标量 lane)AVX2 12-round permutation (row-major 5x5, 4 lanes + 1 scalar lane) | cpB | 5.964 | 5.693 | 1.094× | ZIP 11.28 MB |
| hash-33 | Thunder | Thunder-768 | 768 | AVX2 12轮置换(行优先 5×5,4 lane + 1 标量 lane)AVX2 12-round permutation (row-major 5x5, 4 lanes + 1 scalar lane) | cpB | 7.316 | 6.628 | 1.085× | ZIP 11.28 MB |
| hash-33 | Thunder | Thunder-1024 | 1024 | AVX2 12轮置换(行优先 5×5,4 lane + 1 标量 lane)AVX2 12-round permutation (row-major 5x5, 4 lanes + 1 scalar lane) | cpB | 11.192 | 9.646 | 1.141× | ZIP 11.28 MB |
| hash-35 | Wish | Wish1024 | 1024 | AVX2 C | cpB | 2.68 | 2.395 | 1.199× | ZIP 6.59 MB |
| hash-35 | Wish | Wish512 | 512 | AVX2 打包 + AES-NI(官方配方自带 -maes)AVX2 packing + AES-NI (vendor recipe already uses -maes) | cpB | 2.342 | 1.722 | 1.274× | ZIP 6.59 MB |
build_and_verify.sh 为准;每个包均包含 README.md,说明目录布局与校验命令。Each package provides implementation source, test vectors and verification tools; build_and_verify.sh is authoritative for layout and commands; every package includes README.md documenting layout and checks.wget instances/<package>.zip # or click a ZIP in the table above / 上表点击下载 unzip <package>.zip sha256sum -c <package>/SHA256SUMS # from the extracted parent directory / 在解压后的上级目录执行 cd <package> && bash build_and_verify.sh # 从包内源码构建参考/对比基线/我方实现并逐位验证
build_and_verify.sh:从包内源码构建参考实现、对比基线(多数为官方优化实现,XOF † 档为 ngcc guide 参考 flags / -O2 基础编译的参考实现)与我方实现,对 22 条边界向量做交叉逐位比较,再用官方 KAT 对三方逐档验证(除 Laurus 按字节对齐 513 条外,其余包按官方全量 4097 条);README.md 与 SHA256SUMS 说明目录布局与文件校验,acceptance.log 是打包时的原始验证日志。Every package ships build_and_verify.sh: it builds the reference, the baseline (official optimized for most rows; for XOF rows marked †, the reference build using ngcc guide reference flags / -O2 base) and the CryptCode implementation from the in-package sources, cross-checks 22 boundary vectors bit-for-bit, then runs the official KAT against all three (full 4097 vectors except Laurus, which validates the byte-aligned 513-vector subset because its optimized ABI is byte-based); README.md and SHA256SUMS document layout and verification, and acceptance.log is the original verification log recorded at packaging time.prebuilt/<inst>.so 为我方,.ref.so 为参考实现,.opt.so 为对比基线);预构建 .so 仅用于同一环境下的快速抽查,正式验证仍以 build_and_verify.sh 从源码构建为准。All packages now ship three-way prebuilt binaries: prebuilt/<inst>.so is our implementation, .ref.so the reference and .opt.so the declared baseline. Prebuilt .so files are only a quick-sampling convenience on the same environment; the authoritative check remains build_and_verify.sh building from source.results/ 下的原始记录。A passing KAT proves bit-exactness on the listed vectors only and is not a cryptographic-security certification; for independent performance re-measurement, consult the raw records under each package's results/ directory.sha256sum -c <包名>/SHA256SUMS 即可校验全部文件。SHA-256 check: every package uses one top-level directory named after the package; from the extracted parent directory run sha256sum -c <package>/SHA256SUMS.