CAPTCHA validation is a way to make it more difficult the use of robot scripts to impersonate real users accessing sites.
Many techniques have been developed to implement different variants of CAPTCHA validation, but some can easily be defeated with more sophisticated robots.
This class provides different approach by using text rendered as ASCII art instead of using the usual obfuscated images. This way, existing CAPTCHA breaking robots would need to be adapted to bypass this solution.
This class can be used to perform CAPTCHA validation, display text letters using ASCII art fonts.
It generates a CAPTCHA validation text string with random letters and then renders that text as an ASCII art string with multiple lines that represent the validation text with some distortion and noise characters.
The random validation text and the rendered text are returned as strings.