Skip to content

An image-based CAPTCHA integrated with jigsaw puzzle to prevent from spam bot attack.

License

Notifications You must be signed in to change notification settings

goh-chunlin/Lunar.JigsawPuzzleCaptcha

Repository files navigation

Lunar.JigsawPuzzleCaptcha

Azure Static Web Apps CI/CD License: GPL v3 Donate

An image-based CAPTCHA integrated with jigsaw puzzle to prevent from spam bot attack.

Objective

A team led by Prof Gao Haichang from Xidian University realised that, with the development of automated computer vision techniques such as OCR, traditional text-based CAPTHCAs are not considered safe anymore for authentication. During the IEEE conference in 2010, they thus proposed a new way, i.e. using an image based CAPTCHA which involves in solving a jigsaw puzzle. Their experiments and security analysis further proved that human can complete the jigsaw puzzle CAPTCHA verification quickly and accurately which bots rarely can. Hence, jigsaw puzzle CAPTCHA can be a substitution to the text-based CAPTCHA.

In 2019, on CSDN (Chinese Software Developer Network), a developer 不写BUG的瑾大大 shared his implementation of jigsaw puzzle captcha in Java. It's a very detailed blog post but there is still room for improvement in, for example, documenting the code and naming the variables. Hence, I'd like to take this opportunity to implement this jigsaw puzzle CAPTCHA in .NET 5 with C# and Blazor.

Demo

Demo

Project Blog Post

Image Based CAPTCHA using Jigsaw Puzzle on Blazor

License

This library is distributed under the GPL-3.0 License found in the LICENSE file.