Commit Graph

7 Commits

Author SHA1 Message Date
Sanjana Baliga 223808ba98 Minor fixes
- Used prepared statements and made them immutable
- Fixed indentation
2018-06-14 10:57:06 +05:30
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.
2018-06-06 12:18:40 +05:30
sanjana d2dbb36fd1 Formatting and correction in thread safety 2018-01-07 13:34:53 +05:30
sanjana 3ad3a0e73e Minor changes: coding style and thread safety 2018-01-07 09:59:32 +05:30
sanjana 40d0fbd0f7 Add FilterCaptcha
FilterCaptcha generates a random string, creates an image of the string, and applies a series of filters to make the string hard to read.
2018-01-06 10:10:43 +05:30
sanjana dfa146e139 Separate captcha classes and add LabelCaptcha
LabelCaptcha creates a pair of known and unknown images. BlurCaptcha is modified to use a better filter.
2018-01-04 15:50:59 +05:30
sanjana 4610245b38 Initial skeleton for the framework. 2018-01-03 09:12:43 +05:30