KumbiaPHP beta2-dev
Framework PHP en español
|
00001 <?php 00023 class Md5Filter implements FilterInterface 00024 { 00032 public static function execute ($s, $options) 00033 { 00034 if (isset($options['binary']) && $options['binary'] == 'true') { 00035 return md5((string) $s, true); 00036 } else { 00037 return md5((string) $s); 00038 } 00039 } 00040 }