Default configuration for decoy characters that add security noise.
Decoy characters are fake letters scattered around the CAPTCHA to confuse
OCR systems. These defaults create subtle noise that doesn't interfere
with human readability while significantly increasing security.
Example: Using default decoys
constcaptcha = newCaptchaGenerator() .setCaptcha({ text:'HELLO' }) .setDecoy({}); // Uses all defaults, total calculated automatically
Example: Customizing decoy appearance
constcaptcha = newCaptchaGenerator() .setDecoy({ ...defaultDecoyOptions, total:50, // More decoys for higher security opacity:0.3// More subtle appearance });
Default configuration for decoy characters that add security noise.
Decoy characters are fake letters scattered around the CAPTCHA to confuse OCR systems. These defaults create subtle noise that doesn't interfere with human readability while significantly increasing security.