gglcptch_recaptcha_aes_pad

The Google Captcha (reCAPTCHA) by BestWebSoft gglcptch recaptcha aes pad function.

Description

gglcptch_recaptcha_aes_pad( $val ); 

Parameters (1)

0. $val
The val.

Usage

  1. if ( !function_exists( 'gglcptch_recaptcha_aes_pad' ) ) { 
  2. require_once ABSPATH . PLUGINDIR . 'google-captcha-recaptcha-by-bestwebsoft/lib/recaptchalib.php'; 
  3.  
  4. // The val. 
  5. $val = null; 
  6.  
  7. // NOTICE! Understand what this does before running. 
  8. $result = gglcptch_recaptcha_aes_pad($val); 
  9.  

Defined (1)

The function is defined in the following location(s).

/lib/recaptchalib.php  
  1. function gglcptch_recaptcha_aes_pad($val) { 
  2. $block_size = 16; 
  3. $numpad = $block_size - (strlen ($val) % $block_size); 
  4. return str_pad($val, strlen ($val) + $numpad, chr($numpad));