Files
2026-10-30 12:32:42 +03:00

15 lines
864 B
Plaintext

date: 2026-10-28T17:31:06Z commit: 6468ee2
$ psql -c "SELECT substring(password_hash from '^[$]argon2id[$]v=[0-9]+[$]m=[0-9]+,t=[0-9]+,p=[0-9]+[$]') AS kdf_prefix, username = 'seed_author' AS seed_stub, count(*) AS users, min(length(password_hash)) AS min_length, max(length(password_hash)) AS max_length FROM users GROUP BY 1, 2 ORDER BY 2"
kdf_prefix | seed_stub | users | min_length | max_length
---------------------------------+-----------+-------+------------+------------
$argon2id$v=19$m=19456,t=2,p=1$ | f | 34 | 97 | 97
$argon2id$v=19$m=19456,t=2,p=1$ | t | 1 | 44 | 44
(2 rows)
$ psql -c "SELECT octet_length(token_hash) AS stored_bytes, count(*) AS sessions FROM sessions GROUP BY 1"
stored_bytes | sessions
--------------+----------
32 | 27
(1 row)