English
php
captcha
security
bots
proof-of-work
sha256
borna
shinobi-apps-framework
Proof-of-Work CAPTCHA in PHP: blocking bots without Google reCAPTCHA
PoWChallengeService: SHA-256 leading-zero-bits puzzle, 18-bit difficulty (~1s modern CPU), server-side HMAC integrity + 5-minute TTL, IP-bound 1-hour verified cookie. No reCAPTCHA, no hCaptcha, no Turnstile, no external API call. The cookie format: {ip}|{issued_at}|{hmac}, timing-safe verification.