Skip to content

Instantly share code, notes, and snippets.

@mimi89999
Created October 14, 2025 20:25
Show Gist options
  • Select an option

  • Save mimi89999/c4230180104de3de4c441953fee22ea3 to your computer and use it in GitHub Desktop.

Select an option

Save mimi89999/c4230180104de3de4c441953fee22ea3 to your computer and use it in GitHub Desktop.
Popular password hashing algorithm comparison
==================================================================================================================================
GPU SPEEDUP COMPARISON
==================================================================================================================================
Configuration GPU (H/s) Intel (H/s) RPI (H/s) vs Intel vs RPI
----------------------------------------------------------------------------------------------------------------------------------
PBKDF2-SHA256 (4,096) 2,161,200 802.1 157.8 2694.4x 13695.8x
PBKDF2-SHA256 (10,000) 879,200 322.4 65.0 2727.0x 13526.2x
PBKDF2-SHA256 (100,000) 86,843 39.5 6.5 2198.6x 13360.5x
PBKDF2-SHA256 (210,000) 41,028 18.8 3.1 2182.3x 13234.8x
PBKDF2-SHA256 (600,000) 14,285 6.6 1.1 2164.4x 12986.4x
PBKDF2-SHA512 (4,096) 675,700 267.8 128.5 2523.2x 5258.4x
PBKDF2-SHA512 (100,000) 27,574 11.5 5.2 2397.7x 5302.7x
PBKDF2-SHA512 (210,000) 13,060 5.5 2.5 2374.5x 5224.0x
PBKDF2-SHA512 (500,000) 5,449 2.3 1.1 2369.1x 4953.6x
PBKDF2-SHA1 (4,096) 4,134,500 801.7 199.4 5157.2x 20734.7x
bcrypt (cost=8) 13,976 40.2 33.3 347.7x 419.7x
bcrypt (cost=10) 3,614 10.1 8.4 357.8x 430.2x
bcrypt (cost=11) 1,818 5.0 4.2 363.6x 432.9x
bcrypt (cost=12) 911 2.5 2.1 364.4x 433.8x
bcrypt (cost=13) 456 1.3 1.0 350.8x 456.0x
bcrypt (cost=14) 228 0.6 0.5 380.0x 456.0x
scrypt (N=2^13, r=8, p=1) 24,298 44.4 23.2 547.3x 1047.3x
scrypt (N=2^13, r=8, p=5) 4,866 9.1 4.9 534.7x 993.1x
scrypt (N=2^13, r=8, p=10) 2,429 4.6 2.5 528.0x 971.6x
scrypt (N=2^14, r=8, p=1) 10,314 21.8 11.6 473.1x 889.1x
scrypt (N=2^14, r=8, p=3) 3,434 7.4 4.1 464.1x 837.6x
scrypt (N=2^14, r=8, p=5) 2,066 4.5 2.4 459.1x 860.8x
scrypt (N=2^15, r=8, p=1) 3,896 9.9 4.8 393.5x 811.7x
scrypt (N=2^15, r=8, p=2) 1,950 5.3 2.7 367.9x 722.2x
scrypt (N=2^16, r=8, p=1) 1,104 4.9 2.4 225.3x 460.0x
scrypt (N=2^16, r=8, p=2) 552 2.6 1.3 212.3x 424.6x
Argon2id (m=4 MiB, t=3, p=1) 21,692 107.8 37.2 201.2x 583.1x
Argon2id (m=4 MiB, t=5, p=1) 12,333 65.3 22.1 188.9x 558.1x
Argon2id (m=4 MiB, t=10, p=1) 5,933 34.0 11.4 174.5x 520.4x
Argon2id (m=7 MiB, t=5, p=1) 6,931 37.1 12.7 186.8x 545.7x
Argon2id (m=9 MiB, t=4, p=1) 6,841 35.2 12.2 194.3x 560.7x
Argon2id (m=12 MiB, t=3, p=1) 7,040 34.1 12.0 206.5x 586.7x
Argon2id (m=16 MiB, t=2, p=1) 8,402 36.8 13.2 228.3x 636.5x
Argon2id (m=19 MiB, t=2, p=1) 7,066 30.6 11.1 230.9x 636.6x
Argon2id (m=32 MiB, t=3, p=1) 2,600 11.3 3.7 230.1x 702.7x
Argon2id (m=46 MiB, t=1, p=1) 7,232 18.9 5.8 382.6x 1246.9x
Argon2id (m=64 MiB, t=3, p=4) 1,256 17.2 3.3 73.0x 380.6x
Argon2id (m=128 MiB, t=2, p=4) 1,010 10.0 2.2 101.0x 459.1x
Argon2id (m=256 MiB, t=1, p=4) 1,270 8.5 1.8 149.4x 705.6x
Argon2i (m=12 MiB, t=3, p=1) 7,036 33.8 11.5 208.2x 611.8x
Argon2i (m=64 MiB, t=3, p=4) 1,230 16.7 3.1 73.7x 396.8x
Argon2d (m=12 MiB, t=3, p=1) 7,039 34.2 11.7 205.8x 601.6x
Argon2d (m=64 MiB, t=3, p=4) 1,256 17.6 3.1 71.4x 405.2x
==================================================================================================================================
================================================================================
PASSWORD HASHING ALGORITHM BENCHMARKS
================================================================================
CPU: 11th Gen Intel(R) Core(TM) i5-1135G7 @ 2.40GHz
Testing with 10 iterations each
================================================================================
PBKDF2-HMAC-SHA256
================================================================================
Configuration Avg (ms) H/s
--------------------------------------------------------------------------------
PBKDF2-SHA256 (4,096) 1.25 802.1
PBKDF2-SHA256 (10,000) 3.10 322.4
PBKDF2-SHA256 (100,000) 25.31 39.5
PBKDF2-SHA256 (210,000) 53.09 18.8
PBKDF2-SHA256 (600,000) 152.54 6.6
PBKDF2-SHA256 (1,000,000) 252.62 4.0
PBKDF2-SHA256 (2,000,000) 505.80 2.0
PBKDF2-SHA256 (4,000,000) 1012.60 1.0
PBKDF2-SHA256 (6,000,000) 1519.52 0.7
================================================================================
PBKDF2-HMAC-SHA512
================================================================================
Configuration Avg (ms) H/s
--------------------------------------------------------------------------------
PBKDF2-SHA512 (4,096) 3.73 267.8
PBKDF2-SHA512 (100,000) 86.59 11.5
PBKDF2-SHA512 (210,000) 181.97 5.5
PBKDF2-SHA512 (500,000) 432.96 2.3
PBKDF2-SHA512 (1,000,000) 867.49 1.2
PBKDF2-SHA512 (2,000,000) 1737.34 0.6
================================================================================
PBKDF2-HMAC-SHA1
================================================================================
Configuration Avg (ms) H/s
--------------------------------------------------------------------------------
PBKDF2-SHA1 (4,096) 1.25 801.7
PBKDF2-SHA1 (1,300,000) 298.24 3.4
PBKDF2-SHA1 (2,000,000) 457.17 2.2
PBKDF2-SHA1 (4,000,000) 917.39 1.1
================================================================================
bcrypt
================================================================================
Configuration Avg (ms) H/s
--------------------------------------------------------------------------------
bcrypt (cost=8) 24.89 40.2
bcrypt (cost=10) 99.29 10.1
bcrypt (cost=11) 198.62 5.0
bcrypt (cost=12) 397.29 2.5
bcrypt (cost=13) 794.05 1.3
bcrypt (cost=14) 1588.96 0.6
================================================================================
scrypt
================================================================================
Configuration Avg (ms) H/s
--------------------------------------------------------------------------------
scrypt (N=2^13, r=8, p=1) 22.52 44.4
scrypt (N=2^13, r=8, p=5) 109.94 9.1
scrypt (N=2^13, r=8, p=10) 219.40 4.6
scrypt (N=2^14, r=8, p=1) 45.97 21.8
scrypt (N=2^14, r=8, p=3) 135.32 7.4
scrypt (N=2^14, r=8, p=5) 223.63 4.5
scrypt (N=2^15, r=8, p=1) 101.24 9.9
scrypt (N=2^15, r=8, p=2) 188.13 5.3
scrypt (N=2^16, r=8, p=1) 206.10 4.9
scrypt (N=2^16, r=8, p=2) 387.42 2.6
================================================================================
Argon2id
================================================================================
Configuration Avg (ms) H/s
--------------------------------------------------------------------------------
Argon2id (m=4 MiB, t=3, p=1) 9.28 107.8
Argon2id (m=4 MiB, t=5, p=1) 15.30 65.3
Argon2id (m=4 MiB, t=10, p=1) 29.42 34.0
Argon2id (m=7 MiB, t=5, p=1) 26.93 37.1
Argon2id (m=9 MiB, t=4, p=1) 28.42 35.2
Argon2id (m=12 MiB, t=3, p=1) 29.33 34.1
Argon2id (m=16 MiB, t=2, p=1) 27.16 36.8
Argon2id (m=19 MiB, t=2, p=1) 32.63 30.6
Argon2id (m=32 MiB, t=3, p=1) 88.49 11.3
Argon2id (m=46 MiB, t=1, p=1) 52.98 18.9
Argon2id (m=64 MiB, t=3, p=4) 58.06 17.2
Argon2id (m=128 MiB, t=2, p=4) 99.68 10.0
Argon2id (m=256 MiB, t=1, p=4) 117.60 8.5
================================================================================
Argon2i
================================================================================
Configuration Avg (ms) H/s
--------------------------------------------------------------------------------
Argon2i (m=12 MiB, t=3, p=1) 29.62 33.8
Argon2i (m=64 MiB, t=3, p=4) 60.04 16.7
================================================================================
Argon2d
================================================================================
Configuration Avg (ms) H/s
--------------------------------------------------------------------------------
Argon2d (m=12 MiB, t=3, p=1) 29.23 34.2
Argon2d (m=64 MiB, t=3, p=4) 56.71 17.6
Benchmark was run on Scaleway 1x NVIDIA L40S GPU (L40S-1-48G) instance
================================================================================
HASHCAT BENCHMARKS - Using actual generated hashes
================================================================================
[1] PBKDF2-SHA256 (4096 iterations)
Initialized backend devices
Time.Started.....: Tue Oct 14 17:25:45 2025 (0 secs)
Time.Estimated...: Tue Oct 14 17:25:45 2025 (0 secs)
Speed.#01........: 2161.2 kH/s (8.26ms) @ Accel:2 Loops:512 Thr:512 Vec:1
Recovered........: 1/1 (100.00%) Digests (total), 1/1 (100.00%) Digests (new)
[2] PBKDF2-SHA256 (10000 iterations)
Initialized backend devices
Time.Started.....: Tue Oct 14 17:25:49 2025 (0 secs)
Time.Estimated...: Tue Oct 14 17:25:49 2025 (0 secs)
Speed.#01........: 879.2 kH/s (8.19ms) @ Accel:2 Loops:500 Thr:512 Vec:1
Recovered........: 1/1 (100.00%) Digests (total), 1/1 (100.00%) Digests (new)
[3] PBKDF2-SHA256 (100000 iterations)
Initialized backend devices
Time.Started.....: Tue Oct 14 17:25:53 2025 (2 secs)
Time.Estimated...: Tue Oct 14 17:25:55 2025 (0 secs)
Speed.#01........: 86843 H/s (8.39ms) @ Accel:2 Loops:500 Thr:512 Vec:1
Recovered........: 1/1 (100.00%) Digests (total), 1/1 (100.00%) Digests (new)
[4] PBKDF2-SHA256 (210000 iterations)
Initialized backend devices
Time.Started.....: Tue Oct 14 17:25:59 2025 (4 secs)
Time.Estimated...: Tue Oct 14 17:26:03 2025 (0 secs)
Speed.#01........: 41028 H/s (8.44ms) @ Accel:2 Loops:500 Thr:512 Vec:1
Recovered........: 1/1 (100.00%) Digests (total), 1/1 (100.00%) Digests (new)
[5] PBKDF2-SHA256 (600000 iterations)
Initialized backend devices
Time.Started.....: Tue Oct 14 17:26:08 2025 (10 secs)
Time.Estimated...: Tue Oct 14 17:26:18 2025 (0 secs)
Speed.#01........: 14285 H/s (8.47ms) @ Accel:2 Loops:500 Thr:512 Vec:1
Recovered........: 1/1 (100.00%) Digests (total), 1/1 (100.00%) Digests (new)
[6] PBKDF2-SHA256 (1000000 iterations)
Initialized backend devices
[7] PBKDF2-SHA256 (2000000 iterations)
Initialized backend devices
[8] PBKDF2-SHA256 (4000000 iterations)
Initialized backend devices
[9] PBKDF2-SHA256 (6000000 iterations)
Initialized backend devices
[10] PBKDF2-SHA512 (4096 iterations)
Initialized backend devices
Time.Started.....: Tue Oct 14 17:26:34 2025 (0 secs)
Time.Estimated...: Tue Oct 14 17:26:34 2025 (0 secs)
Speed.#01........: 675.7 kH/s (6.87ms) @ Accel:8 Loops:128 Thr:256 Vec:1
Recovered........: 1/1 (100.00%) Digests (total), 1/1 (100.00%) Digests (new)
[11] PBKDF2-SHA512 (100000 iterations)
Initialized backend devices
Time.Started.....: Tue Oct 14 17:26:41 2025 (6 secs)
Time.Estimated...: Tue Oct 14 17:26:47 2025 (0 secs)
Speed.#01........: 27574 H/s (6.69ms) @ Accel:4 Loops:124 Thr:512 Vec:1
Recovered........: 1/1 (100.00%) Digests (total), 1/1 (100.00%) Digests (new)
[12] PBKDF2-SHA512 (210000 iterations)
Initialized backend devices
Time.Started.....: Tue Oct 14 17:26:50 2025 (12 secs)
Time.Estimated...: Tue Oct 14 17:27:02 2025 (0 secs)
Speed.#01........: 13060 H/s (6.76ms) @ Accel:4 Loops:124 Thr:512 Vec:1
Recovered........: 1/1 (100.00%) Digests (total), 1/1 (100.00%) Digests (new)
[13] PBKDF2-SHA512 (500000 iterations)
Initialized backend devices
Time.Started.....: Tue Oct 14 17:27:07 2025 (27 secs)
Time.Estimated...: Tue Oct 14 17:27:34 2025 (0 secs)
Speed.#01........: 5449 H/s (6.79ms) @ Accel:4 Loops:124 Thr:512 Vec:1
Recovered........: 1/1 (100.00%) Digests (total), 1/1 (100.00%) Digests (new)
[14] PBKDF2-SHA512 (1000000 iterations)
Initialized backend devices
[15] PBKDF2-SHA512 (2000000 iterations)
Initialized backend devices
[16] PBKDF2-SHA1 (4096 iterations)
Initialized backend devices
Time.Started.....: Tue Oct 14 17:27:46 2025 (0 secs)
Time.Estimated...: Tue Oct 14 17:27:46 2025 (0 secs)
Speed.#01........: 4134.5 kH/s (8.81ms) @ Accel:6 Loops:1024 Thr:256 Vec:1
Recovered........: 1/1 (100.00%) Digests (total), 1/1 (100.00%) Digests (new)
[17] PBKDF2-SHA1 (1300000 iterations)
Initialized backend devices
[18] PBKDF2-SHA1 (2000000 iterations)
Initialized backend devices
[19] PBKDF2-SHA1 (4000000 iterations)
Initialized backend devices
[20] bcrypt (cost=08)
Initialized backend devices
Time.Started.....: Tue Oct 14 17:27:59 2025 (5 secs)
Time.Estimated...: Tue Oct 14 17:28:04 2025 (0 secs)
Speed.#01........: 13976 H/s (13.32ms) @ Accel:1 Loops:32 Thr:11 Vec:1
Recovered........: 1/1 (100.00%) Digests (total), 1/1 (100.00%) Digests (new)
[21] bcrypt (cost=10)
Initialized backend devices
Time.Started.....: Tue Oct 14 17:28:11 2025 (21 secs)
Time.Estimated...: Tue Oct 14 17:28:32 2025 (0 secs)
Speed.#01........: 3614 H/s (13.32ms) @ Accel:1 Loops:32 Thr:11 Vec:1
Recovered........: 1/1 (100.00%) Digests (total), 1/1 (100.00%) Digests (new)
[22] bcrypt (cost=11)
Initialized backend devices
Time.Started.....: Tue Oct 14 17:28:40 2025 (42 secs)
Time.Estimated...: Tue Oct 14 17:29:22 2025 (0 secs)
Speed.#01........: 1818 H/s (13.32ms) @ Accel:1 Loops:32 Thr:11 Vec:1
Recovered........: 1/1 (100.00%) Digests (total), 1/1 (100.00%) Digests (new)
[23] bcrypt (cost=12)
Initialized backend devices
Time.Started.....: Tue Oct 14 17:29:29 2025 (1 min, 24 secs)
Time.Estimated...: Tue Oct 14 17:30:53 2025 (0 secs)
Speed.#01........: 911 H/s (13.32ms) @ Accel:1 Loops:32 Thr:11 Vec:1
Recovered........: 1/1 (100.00%) Digests (total), 1/1 (100.00%) Digests (new)
[24] bcrypt (cost=13)
Initialized backend devices
Time.Started.....: Tue Oct 14 17:31:01 2025 (2 mins, 47 secs)
Time.Estimated...: Tue Oct 14 17:33:48 2025 (0 secs)
Speed.#01........: 456 H/s (13.32ms) @ Accel:1 Loops:32 Thr:11 Vec:1
Recovered........: 1/1 (100.00%) Digests (total), 1/1 (100.00%) Digests (new)
[25] bcrypt (cost=14)
Initialized backend devices
Time.Started.....: Tue Oct 14 17:33:56 2025 (5 mins, 35 secs)
Time.Estimated...: Tue Oct 14 17:39:31 2025 (0 secs)
Speed.#01........: 228 H/s (13.32ms) @ Accel:1 Loops:32 Thr:11 Vec:1
Recovered........: 1/1 (100.00%) Digests (total), 1/1 (100.00%) Digests (new)
[26] scrypt (N:r:p=8192:8:1)
Initialized backend devices
Time.Started.....: Tue Oct 14 17:53:14 2025 (3 secs)
Time.Estimated...: Tue Oct 14 17:53:17 2025 (0 secs)
Speed.#01........: 24298 H/s (26.18ms) @ Accel:171 Loops:2048 Thr:32 Vec:1
Recovered........: 1/1 (100.00%) Digests (total), 1/1 (100.00%) Digests (new)
[27] scrypt (N:r:p=8192:8:5)
Initialized backend devices
Time.Started.....: Tue Oct 14 17:53:30 2025 (16 secs)
Time.Estimated...: Tue Oct 14 17:53:46 2025 (0 secs)
Speed.#01........: 4866 H/s (26.26ms) @ Accel:171 Loops:2048 Thr:32 Vec:1
Recovered........: 1/1 (100.00%) Digests (total), 1/1 (100.00%) Digests (new)
[28] scrypt (N:r:p=8192:8:10)
Initialized backend devices
Time.Started.....: Tue Oct 14 17:53:59 2025 (32 secs)
Time.Estimated...: Tue Oct 14 17:54:31 2025 (0 secs)
Speed.#01........: 2429 H/s (26.23ms) @ Accel:171 Loops:2048 Thr:32 Vec:1
Recovered........: 1/1 (100.00%) Digests (total), 1/1 (100.00%) Digests (new)
[29] scrypt (N:r:p=16384:8:1)
Initialized backend devices
Time.Started.....: Tue Oct 14 17:54:34 2025 (8 secs)
Time.Estimated...: Tue Oct 14 17:54:42 2025 (0 secs)
Speed.#01........: 10314 H/s (46.86ms) @ Accel:171 Loops:2048 Thr:32 Vec:1
Recovered........: 1/1 (100.00%) Digests (total), 1/1 (100.00%) Digests (new)
[30] scrypt (N:r:p=16384:8:3)
Initialized backend devices
Time.Started.....: Tue Oct 14 17:54:56 2025 (22 secs)
Time.Estimated...: Tue Oct 14 17:55:18 2025 (0 secs)
Speed.#01........: 3434 H/s (46.88ms) @ Accel:171 Loops:2048 Thr:32 Vec:1
Recovered........: 1/1 (100.00%) Digests (total), 1/1 (100.00%) Digests (new)
[31] scrypt (N:r:p=16384:8:5)
Initialized backend devices
Time.Started.....: Tue Oct 14 17:55:32 2025 (38 secs)
Time.Estimated...: Tue Oct 14 17:56:10 2025 (0 secs)
Speed.#01........: 2066 H/s (46.85ms) @ Accel:171 Loops:2048 Thr:32 Vec:1
Recovered........: 1/1 (100.00%) Digests (total), 1/1 (100.00%) Digests (new)
[32] scrypt (N:r:p=32768:8:1)
Initialized backend devices
Time.Started.....: Tue Oct 14 17:56:24 2025 (20 secs)
Time.Estimated...: Tue Oct 14 17:56:44 2025 (0 secs)
Speed.#01........: 3896 H/s (72.30ms) @ Accel:171 Loops:2048 Thr:32 Vec:1
Recovered........: 1/1 (100.00%) Digests (total), 1/1 (100.00%) Digests (new)
[33] scrypt (N:r:p=32768:8:2)
Initialized backend devices
Time.Started.....: Tue Oct 14 17:56:57 2025 (40 secs)
Time.Estimated...: Tue Oct 14 17:57:37 2025 (0 secs)
Speed.#01........: 1950 H/s (72.25ms) @ Accel:171 Loops:2048 Thr:32 Vec:1
Recovered........: 1/1 (100.00%) Digests (total), 1/1 (100.00%) Digests (new)
[34] scrypt (N:r:p=65536:8:1)
Initialized backend devices
Time.Started.....: Tue Oct 14 17:57:51 2025 (1 min, 9 secs)
Time.Estimated...: Tue Oct 14 17:59:00 2025 (0 secs)
Speed.#01........: 1104 H/s (62.69ms) @ Accel:85 Loops:2048 Thr:32 Vec:1
Recovered........: 1/1 (100.00%) Digests (total), 1/1 (100.00%) Digests (new)
[35] scrypt (N:r:p=65536:8:2)
Initialized backend devices
Time.Started.....: Tue Oct 14 17:59:14 2025 (2 mins, 18 secs)
Time.Estimated...: Tue Oct 14 18:01:32 2025 (0 secs)
Speed.#01........: 552 H/s (62.72ms) @ Accel:85 Loops:2048 Thr:32 Vec:1
Recovered........: 1/1 (100.00%) Digests (total), 1/1 (100.00%) Digests (new)
[36] Argon2id (m=4096,t=3,p=1)
Initialized backend devices
Time.Started.....: Tue Oct 14 17:40:17 2025 (4 secs)
Time.Estimated...: Tue Oct 14 17:40:21 2025 (0 secs)
Speed.#01........: 21692 H/s (10.41ms) @ Accel:685 Loops:4 Thr:32 Vec:1
Recovered........: 1/1 (100.00%) Digests (total), 1/1 (100.00%) Digests (new)
[37] Argon2id (m=4096,t=5,p=1)
Initialized backend devices
Time.Started.....: Tue Oct 14 17:40:26 2025 (6 secs)
Time.Estimated...: Tue Oct 14 17:40:32 2025 (0 secs)
Speed.#01........: 12333 H/s (11.03ms) @ Accel:685 Loops:4 Thr:32 Vec:1
Recovered........: 1/1 (100.00%) Digests (total), 1/1 (100.00%) Digests (new)
[38] Argon2id (m=4096,t=10,p=1)
Initialized backend devices
Time.Started.....: Tue Oct 14 17:40:35 2025 (13 secs)
Time.Estimated...: Tue Oct 14 17:40:48 2025 (0 secs)
Speed.#01........: 5933 H/s (11.50ms) @ Accel:685 Loops:4 Thr:32 Vec:1
Recovered........: 1/1 (100.00%) Digests (total), 1/1 (100.00%) Digests (new)
[39] Argon2id (m=7168,t=5,p=1)
Initialized backend devices
Time.Started.....: Tue Oct 14 17:40:51 2025 (11 secs)
Time.Estimated...: Tue Oct 14 17:41:02 2025 (0 secs)
Speed.#01........: 6931 H/s (9.87ms) @ Accel:685 Loops:2 Thr:32 Vec:1
Recovered........: 1/1 (100.00%) Digests (total), 1/1 (100.00%) Digests (new)
[40] Argon2id (m=9216,t=4,p=1)
Initialized backend devices
Time.Started.....: Tue Oct 14 17:41:06 2025 (11 secs)
Time.Estimated...: Tue Oct 14 17:41:17 2025 (0 secs)
Speed.#01........: 6841 H/s (12.44ms) @ Accel:685 Loops:2 Thr:32 Vec:1
Recovered........: 1/1 (100.00%) Digests (total), 1/1 (100.00%) Digests (new)
[41] Argon2id (m=12288,t=3,p=1)
Initialized backend devices
Time.Started.....: Tue Oct 14 17:41:21 2025 (11 secs)
Time.Estimated...: Tue Oct 14 17:41:32 2025 (0 secs)
Speed.#01........: 7040 H/s (16.16ms) @ Accel:685 Loops:2 Thr:32 Vec:1
Recovered........: 1/1 (100.00%) Digests (total), 1/1 (100.00%) Digests (new)
[42] Argon2id (m=16384,t=2,p=1)
Initialized backend devices
Time.Started.....: Tue Oct 14 17:41:36 2025 (9 secs)
Time.Estimated...: Tue Oct 14 17:41:45 2025 (0 secs)
Speed.#01........: 8402 H/s (10.12ms) @ Accel:685 Loops:1 Thr:32 Vec:1
Recovered........: 1/1 (100.00%) Digests (total), 1/1 (100.00%) Digests (new)
[43] Argon2id (m=19456,t=2,p=1)
Initialized backend devices
Time.Started.....: Tue Oct 14 17:41:49 2025 (10 secs)
Time.Estimated...: Tue Oct 14 17:41:59 2025 (0 secs)
Speed.#01........: 7066 H/s (12.05ms) @ Accel:685 Loops:1 Thr:32 Vec:1
Recovered........: 1/1 (100.00%) Digests (total), 1/1 (100.00%) Digests (new)
[44] Argon2id (m=32768,t=3,p=1)
Initialized backend devices
Time.Started.....: Tue Oct 14 17:42:03 2025 (29 secs)
Time.Estimated...: Tue Oct 14 17:42:32 2025 (0 secs)
Speed.#01........: 2600 H/s (22.07ms) @ Accel:685 Loops:1 Thr:32 Vec:1
Recovered........: 1/1 (100.00%) Digests (total), 1/1 (100.00%) Digests (new)
[45] Argon2id (m=47104,t=1,p=1)
Initialized backend devices
Time.Started.....: Tue Oct 14 17:42:36 2025 (10 secs)
Time.Estimated...: Tue Oct 14 17:42:46 2025 (0 secs)
Speed.#01........: 7232 H/s (23.56ms) @ Accel:685 Loops:1 Thr:32 Vec:1
Recovered........: 1/1 (100.00%) Digests (total), 1/1 (100.00%) Digests (new)
[46] Argon2id (m=65536,t=3,p=4)
Initialized backend devices
Time.Started.....: Tue Oct 14 17:42:55 2025 (1 min, 0 secs)
Time.Estimated...: Tue Oct 14 17:43:55 2025 (0 secs)
Speed.#01........: 1256 H/s (45.73ms) @ Accel:685 Loops:1 Thr:32 Vec:1
Recovered........: 1/1 (100.00%) Digests (total), 1/1 (100.00%) Digests (new)
[47] Argon2id (m=131072,t=2,p=4)
Initialized backend devices
Time.Started.....: Tue Oct 14 17:44:04 2025 (1 min, 14 secs)
Time.Estimated...: Tue Oct 14 17:45:18 2025 (0 secs)
Speed.#01........: 1010 H/s (42.21ms) @ Accel:342 Loops:1 Thr:32 Vec:1
Recovered........: 1/1 (100.00%) Digests (total), 1/1 (100.00%) Digests (new)
[48] Argon2id (m=262144,t=1,p=4)
Initialized backend devices
Time.Started.....: Tue Oct 14 17:45:24 2025 (59 secs)
Time.Estimated...: Tue Oct 14 17:46:23 2025 (0 secs)
Speed.#01........: 1270 H/s (33.45ms) @ Accel:171 Loops:1 Thr:32 Vec:1
Recovered........: 1/1 (100.00%) Digests (total), 1/1 (100.00%) Digests (new)
[49] Argon2i (m=12288,t=3,p=1)
Initialized backend devices
Time.Started.....: Tue Oct 14 17:46:26 2025 (11 secs)
Time.Estimated...: Tue Oct 14 17:46:37 2025 (0 secs)
Speed.#01........: 7036 H/s (16.17ms) @ Accel:685 Loops:2 Thr:32 Vec:1
Recovered........: 1/1 (100.00%) Digests (total), 1/1 (100.00%) Digests (new)
[50] Argon2i (m=65536,t=3,p=4)
Initialized backend devices
Time.Started.....: Tue Oct 14 17:46:43 2025 (1 min, 2 secs)
Time.Estimated...: Tue Oct 14 17:47:45 2025 (0 secs)
Speed.#01........: 1230 H/s (46.72ms) @ Accel:685 Loops:1 Thr:32 Vec:1
Recovered........: 1/1 (100.00%) Digests (total), 1/1 (100.00%) Digests (new)
[51] Argon2d (m=12288,t=3,p=1)
Initialized backend devices
Time.Started.....: Tue Oct 14 17:47:49 2025 (10 secs)
Time.Estimated...: Tue Oct 14 17:47:59 2025 (0 secs)
Speed.#01........: 7039 H/s (16.17ms) @ Accel:685 Loops:2 Thr:32 Vec:1
Recovered........: 1/1 (100.00%) Digests (total), 1/1 (100.00%) Digests (new)
[52] Argon2d (m=65536,t=3,p=4)
Initialized backend devices
Time.Started.....: Tue Oct 14 17:48:04 2025 (1 min, 0 secs)
Time.Estimated...: Tue Oct 14 17:49:04 2025 (0 secs)
Speed.#01........: 1256 H/s (45.73ms) @ Accel:685 Loops:1 Thr:32 Vec:1
Recovered........: 1/1 (100.00%) Digests (total), 1/1 (100.00%) Digests (new)
================================================================================
BENCHMARK COMPLETE
================================================================================
================================================================================
PASSWORD HASHING ALGORITHM BENCHMARKS
================================================================================
Raspberry Pi 4 Model B Rev 1.2
Testing with 10 iterations each
================================================================================
PBKDF2-HMAC-SHA256
================================================================================
Configuration Avg (ms) H/s
--------------------------------------------------------------------------------
PBKDF2-SHA256 (4,096) 6.34 157.8
PBKDF2-SHA256 (10,000) 15.38 65.0
PBKDF2-SHA256 (100,000) 154.54 6.5
PBKDF2-SHA256 (210,000) 322.95 3.1
PBKDF2-SHA256 (600,000) 929.76 1.1
PBKDF2-SHA256 (1,000,000) 1544.06 0.6
PBKDF2-SHA256 (2,000,000) 3082.67 0.3
PBKDF2-SHA256 (4,000,000) 6162.36 0.2
PBKDF2-SHA256 (6,000,000) 9258.94 0.1
================================================================================
PBKDF2-HMAC-SHA512
================================================================================
Configuration Avg (ms) H/s
--------------------------------------------------------------------------------
PBKDF2-SHA512 (4,096) 7.78 128.5
PBKDF2-SHA512 (100,000) 190.50 5.2
PBKDF2-SHA512 (210,000) 400.68 2.5
PBKDF2-SHA512 (500,000) 951.91 1.1
PBKDF2-SHA512 (1,000,000) 1909.37 0.5
PBKDF2-SHA512 (2,000,000) 3808.88 0.3
================================================================================
PBKDF2-HMAC-SHA1
================================================================================
Configuration Avg (ms) H/s
--------------------------------------------------------------------------------
PBKDF2-SHA1 (4,096) 5.02 199.4
PBKDF2-SHA1 (1,300,000) 1530.25 0.7
PBKDF2-SHA1 (2,000,000) 2358.59 0.4
PBKDF2-SHA1 (4,000,000) 4679.39 0.2
================================================================================
bcrypt
================================================================================
Configuration Avg (ms) H/s
--------------------------------------------------------------------------------
bcrypt (cost=8) 29.99 33.3
bcrypt (cost=10) 119.02 8.4
bcrypt (cost=11) 238.61 4.2
bcrypt (cost=12) 476.94 2.1
bcrypt (cost=13) 952.96 1.0
bcrypt (cost=14) 1913.33 0.5
================================================================================
scrypt
================================================================================
Configuration Avg (ms) H/s
--------------------------------------------------------------------------------
scrypt (N=2^13, r=8, p=1) 43.12 23.2
scrypt (N=2^13, r=8, p=5) 203.00 4.9
scrypt (N=2^13, r=8, p=10) 402.83 2.5
scrypt (N=2^14, r=8, p=1) 86.06 11.6
scrypt (N=2^14, r=8, p=3) 244.92 4.1
scrypt (N=2^14, r=8, p=5) 408.72 2.4
scrypt (N=2^15, r=8, p=1) 208.26 4.8
scrypt (N=2^15, r=8, p=2) 370.25 2.7
scrypt (N=2^16, r=8, p=1) 422.82 2.4
scrypt (N=2^16, r=8, p=2) 744.51 1.3
================================================================================
Argon2id
================================================================================
Configuration Avg (ms) H/s
--------------------------------------------------------------------------------
Argon2id (m=4 MiB, t=3, p=1) 26.90 37.2
Argon2id (m=4 MiB, t=5, p=1) 45.35 22.1
Argon2id (m=4 MiB, t=10, p=1) 87.50 11.4
Argon2id (m=7 MiB, t=5, p=1) 78.78 12.7
Argon2id (m=9 MiB, t=4, p=1) 81.75 12.2
Argon2id (m=12 MiB, t=3, p=1) 83.21 12.0
Argon2id (m=16 MiB, t=2, p=1) 75.50 13.2
Argon2id (m=19 MiB, t=2, p=1) 89.85 11.1
Argon2id (m=32 MiB, t=3, p=1) 266.83 3.7
Argon2id (m=46 MiB, t=1, p=1) 173.83 5.8
Argon2id (m=64 MiB, t=3, p=4) 307.63 3.3
Argon2id (m=128 MiB, t=2, p=4) 453.35 2.2
Argon2id (m=256 MiB, t=1, p=4) 555.89 1.8
================================================================================
Argon2i
================================================================================
Configuration Avg (ms) H/s
--------------------------------------------------------------------------------
Argon2i (m=12 MiB, t=3, p=1) 86.75 11.5
Argon2i (m=64 MiB, t=3, p=4) 320.44 3.1
================================================================================
Argon2d
================================================================================
Configuration Avg (ms) H/s
--------------------------------------------------------------------------------
Argon2d (m=12 MiB, t=3, p=1) 85.12 11.7
Argon2d (m=64 MiB, t=3, p=4) 320.38 3.1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment