public function Botcha::generateSecretKey in BOTCHA Spam Prevention 7.3
Same name and namespace in other branches
- 6.3 controller/application/botcha.application.controller.inc \Botcha::generateSecretKey()
Generate a random secret key.
Overrides IBotcha::generateSecretKey
2 calls to Botcha::generateSecretKey()
- Botcha::getAdminForm in controller/
application/ botcha.application.controller.inc - Botcha::submitAdminForm in controller/
application/ botcha.application.controller.inc - Unified submit handler for admin forms.
File
- controller/
application/ botcha.application.controller.inc, line 338 - Contains Botcha class.
Class
- Botcha
- Just a middleman for achieving purposes such as:
Code
public function generateSecretKey() {
return md5(uniqid(mt_rand(), TRUE));
}