mirror of
https://github.com/librecaptcha/lc-core.git
synced 2025-01-27 04:53:13 -05:00
sanjana
f73f2a762f
Initial commit for the framework
The ChallengeProvider trait provides the methods to be implemented by the challenge providers. The framework gets a challenge from a challenge provider, inserts the details of the challenge into the database, and gives the challenge to the user. It then gets the answer from the user, and sends it to the challenge provider for verification. This commit includes the implementation only for FilterChallenge provider.
lc-core
a Captcha framework
Currently, the following example Captchas are provided by LibreCaptcha:
BlurCaptcha
An image of a word is blurred before being shown to the user.
LabelCaptcha
An image that has a pair of words is created. The answer to one of the words is known and to that of the other is unknown. The user is tested on the known word, and their answer to the unknown word is recorded. If a sufficient number of users agree on their answer to the unknown word, it is transferred to the list of known words.
FilterCaptcha
An image of a random string of alphabets is created. Then a series of image filters that add effecs such as Smear, Diffuse, and Ripple are applied to the image to make it less readable.
Description
Languages
Scala
52.9%
Java
33.5%
Python
6.9%
HTML
3.7%
Dockerfile
1.5%
Other
1.5%