Twenty years ago, Luis von Ahn, a 24-year-old computer genius, first came up with the concept of a program called CAPTCHA(verification code) while studying how procedural robots work at Carnegie Mellon University.
The full name of CAPTCHA is Completely Automated Public Turing test to tell Computers andHumans Apart. The idea is to “snatch” bots disguised as humans from normal users by asking the originator of the request a question before the user can act. And that’s based on an important assumption: ask questions that humans can easily answer but machines can’t.
At the time, despite major advances in computer technology, Lewis found that it was still a challenge for machines to recognize distorted patterns, whereas humans could easily read images with the naked eye. After that, Lewis designed a program with the help of his mentor Bloom.
The program first produces a random set of strings, then randomly distorts, overlaps and contaminates the string of characters, and finally displays it to the user who is doing the operation. Once you can identify the distorted string, you can identify it as human. From this, captcha was born and became an effective way to distinguish machines from humans.
With the rapid development of information technology, the role of verification code is becoming more and more significant, it can prevent malicious crack password, ticket, forum flooding, effectively prevent a hacker to a specific registered user with a specific program to crack the way for continuous login attempts. However, when the network information security requirements are becoming higher and higher, the traditional graphic and digital verification code can not meet the security needs of people. In order to ensure the stability of the server, all kinds of product managers urgently need programmers to develop all kinds of innovative interactive verification methods. Today, Planet Gitee picks up a few interesting open source captcha projects for those of you who are feeling a bit lost.
1 ️ ⃣ itriton – captcha
Open Source License: MIT
Project author: Wisdom Whale Open Source
Project address: gitee.com/ibaleine-op…
Itriton-captcha is a practical effect of behavior Verification (CAPTCHA) components based on uni-App ecology developed component library, mainly used to generate sliding captCHA puzzle pictures and background images.
Demo effect:
Note: Use the Node.js backend framework to write applications. Install NPM I when using behavior verification. If sharp fails to be installed, switch to Taobao image and run the NPM install sharp command.
npm config set sharp_binary_host "https://npm.taobao.org/mirrors/sharp"
npm config set sharp_libvips_binary_host "https://npm.taobao.org/mirrors/sharp-libvips"
npm install sharp
Copy the code
2 ️ ⃣ rotate – captcha
Open Source License: MIT
Project author: Qu Chao
Project address: gitee.com/isszz/rotat…
Rotate-captcha is a captcha that uses PHP to generate validation images (gd or imagick) for rotation validation. It can be used in various frameworks.
Demo effect:
Note: The front-end already supports native JS, jQuery, Vue2, uni-app version, and React version is not implemented yet.
3 ️ ⃣ AJ – Captcha
Open Source license: Apache-2.0
Project author: Anji-Plus
Project address: gitee.com/anji-plus/c…
Project Introduction: AJ-CAPTCHA behavior verification code, including sliding jigsaw and text click selection two ways. It adopts embedded integration mode, easy access, security and efficiency. Abandoned the traditional character type verification code display – fill in the character – answer comparison process, using the verification code display – collection of user behavior – analysis of user behavior process, users only need to generate the specified behavior track, no keyboard manual input, greatly optimize the traditional verification code user experience is not good; At the same time, fast and accurate return of man-machine judgment results.
Effect schematic diagram:
Interactive process:
Said in the last
Thirty or 50 years from now, if computing technology explosively increases, ARTIFICIAL intelligence will be able to respond effectively to human reverse testing and verification, almost completely replicating the way we think. Then, what identification method will be developed?
If superartificial intelligence emerges, masquerading as human beings, how can humans prove to each other that they are not artificial intelligence? Once superartificial intelligence becomes ubiquitous, potentially taking over humans and infiltrating our lives, how will we be able to tell if the person making the request is actually human?
Recommended reading
I, the coder, study the metasverse at Gitee
It’s year-end review time, and I recommend a wave of good and useful open source project management tools
KFC meets Gitee: a bite of fried chicken and a line of code