This project is read-only.

Sharing - Edited MyCaptcha v2


Hi, I have slightly edited the original code of MyCaptcha and share it here.

Change log:
  • Encryption algorithm replaced with Rijndael
  • Random choose background image
  • Use single RANDOM instance, in stead of creating multiple RANDOM. This enable the RANDOM values to be generated randomly. Creating multiple RANDOM instance at the same time will resulting the same seeding and generating the same value.
  • After background image file is loaded and used, the resource (memory) is released immediately.
  • ValidChar has excluded the character of "I", "L", "1", "0" and "O". This is to avoid human error. In the generated captcha, human is unable to differentiate the character of "I", "L" and "1". These characters serve no purpose. Therefore, they are removed.

file attachments