Function captcha::gen
[−]
[src]
pub fn gen(d: Difficulty) -> Captcha
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
.