← All projects

captcha-rs

by @samirdjelal

Active 63

Generate verification images dynamically

About this project

captcha-rs captcha-rs is a library that generate verification images dynamically. Example pictures are as follows: --- --- --- Using complexity method Complexity Light Mode / Noise Filter Dark Mode / Noise Filter --- -------------------------------------------------- --- Level 1 Level 2 Level 3 Level 4 Level 5 Level 6 Level 7 Level 8 Level 9 Level 10 Using Visual Enhancements and Bot Deterrence Effect Image example --- --- Drop Shadow Heavy Interference Mild Distortion Heavy Distortion Example Add the following dependency to the Cargo.toml file: And then get started in your main.rs: Stateless Verification (Serverless) With the stateless feature enabled, you can generate a time-bound JWT token that contains a secure hash of the captcha solution. This allows you to verify the user's input on a different server or at a later time without storing the solution in a database or session. Run Performance The library is highly optimized for fast image generation. The table below represents benchmarks tested with varying configurations (measured per image): Configuration Time per Image Core Settings --- --- --- Default 27 µs length=5, 130x40

From the project README on GitHub

Stars
63
Forks
13
License
MIT
Last push
2 Mar 2026

Add this badge to your README

Show that your project is listed on Made in Algeria.

Made in Algeria
[![Made in Algeria](https://www.madeinalgeria.dev/badge/captcha-rs.svg)](https://www.madeinalgeria.dev/projects/captcha-rs)

Related projects