Skip to content

Baiyuetribe/math_captcha

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Math_Captcha

Example

Features

  • 用 rust 编写的数学验证码生成库

Install

cargo add math_captcha

Usage

use math_captcha::Captcha;

fn main() {
    let a = Captcha::new(150, 50); // width: 150, height: 50
    println!("value:{},base64_img:{}", a.value, a.base64_img);
}

About

A library to generate CAPTCHAs with simple math

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages