captcha

Function gen

Source
pub fn gen(d: Difficulty) -> Captcha
Expand description

Creates a random CAPTCHA with the given difficulty.

The resulting CAPTCHA has a size of 220x120 pixels and contains between 4 and 6 character (including).

If you need more flexibility please have a look at Captcha.