protected static function _generateNonce() { $mt = microtime(); $rand = mt_rand(); return hash('md5', microtime() . mt_rand()); }