Skip to content

lets-blade/blade-captcha

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Blade-Patchca: verification code library for Java

Overview

Simple yet powerful verification code library written in Java with zero dependency.

You can generate verification code picture like this:

验证码    验证码    验证码
验证码    验证码    验证码

Numeric

验证码    验证码    验证码

Chinese

验证码    验证码    验证码

Built-in fonts

验证码    验证码    验证码

Steps to Integrate

  • Add following dependency in your pom.xml
<dependency>
    <groupId>com.hellokaton</groupId>
    <artifactId>blade-captcha</artifactId>
    <version>0.1.0</version>
</dependency>
  • Add following dependency in your code
@GET("/captcha")
public void captcha() throws IOException {
    GifCaptcha captcha = new GifCaptcha(130, 48, 6);
    System.out.println(captcha.text());
    CaptchaKit.render(captcha);
}

Special thanks

About

Blade integrated graphic verification code

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published