implement Lychee/Utils/Captcha.php