PageRenderTime 1262ms queryFilters 34ms Sphinxql 658ms GetByIds 371ms meta 0ms repositoryFilters 81ms languageFilters 5ms sourceFilters 45ms

66,045 results for 'php md5 repo:dgough/annamaria-daneswood-25102012' (1262 ms)

Source

Language

Repository

Http.php https://bitbucket.org/svenax/zendframework.git | PHP | 869 lines
1<?php
2/**
26 */
27require_once 'Zend/Auth/Adapter/Interface.php';
28
117     * List of the supported digest algorithms. I want to support both MD5 and
118     * MD5-sess, but MD5-sess won't make it into the first version.
119     *
121     */
122    protected $_supportedAlgos = array('MD5');
123
124    /**
125     * The actual algorithm to use. Defaults to MD5
126     *
162     *    'use_opaque' => <bool> Whether to send the opaque value in the header
163     *    'alogrithm' => <string> See $_supportedAlgos. Default: MD5
164     *    'proxy_auth' => <bool> Whether to do authentication as a Proxy
Http.php https://bitbucket.org/Sinfin/pawtucket.git | PHP | 847 lines
1<?php
2/**
19 * @license    http://framework.zend.com/license/new-bsd     New BSD License
20 * @version    $Id: Http.php 20096 2010-01-06 02:05:09Z bkarwin $
21 */
26 */
27require_once 'Zend/Auth/Adapter/Interface.php';
28
117     * List of the supported digest algorithms. I want to support both MD5 and
118     * MD5-sess, but MD5-sess won't make it into the first version.
119     *
121     */
122    protected $_supportedAlgos = array('MD5');
123
124    /**
125     * The actual algorithm to use. Defaults to MD5
126     *
Http.php https://bitbucket.org/Flightan/phpic.git | PHP | 848 lines
1<?php
2/**
19 * @license    http://framework.zend.com/license/new-bsd     New BSD License
20 * @version    $Id: Http.php 20096 2010-01-06 02:05:09Z bkarwin $
21 */
26 */
27require_once 'Zend/Auth/Adapter/Interface.php';
28
117     * List of the supported digest algorithms. I want to support both MD5 and
118     * MD5-sess, but MD5-sess won't make it into the first version.
119     *
121     */
122    protected $_supportedAlgos = array('MD5');
123
124    /**
125     * The actual algorithm to use. Defaults to MD5
126     *
epTestManager.php https://bitbucket.org/davidmpaz/ezpdo.git | PHP | 2,289 lines
1<?php
2
3/**
4 * $Id: epTestManager.php 1019 2006-11-29 06:26:43Z nauhygon $
5 *
7 *
8 * @author Oak Nauhygon <ezpdo4php@gmail.com>
9 * @version $Revision: 1019 $ $Date: 2006-11-29 01:26:43 -0500 (Wed, 29 Nov 2006) $
16 */
17include_once(dirname(__FILE__).'/epTestRuntime.php');
18
21 *
22 * @author Oak Nauhygon <ezpdo4php@gmail.com>
23 * @version $Revision: 1019 $ $Date: 2006-11-29 01:26:43 -0500 (Wed, 29 Nov 2006) $
60        // use manager to create one object
61        include_once(EP_TESTS.'/classes/bookstore/src/eptBook.php');
62
Http.php https://bitbucket.org/brunoMaurice/youfood.git | PHP | 847 lines
1<?php
2/**
19 * @license    http://framework.zend.com/license/new-bsd     New BSD License
20 * @version    $Id: Http.php 16200 2009-06-21 18:50:06Z thomas $
21 */
26 */
27require_once 'Zend/Auth/Adapter/Interface.php';
28
117     * List of the supported digest algorithms. I want to support both MD5 and
118     * MD5-sess, but MD5-sess won't make it into the first version.
119     *
121     */
122    protected $_supportedAlgos = array('MD5');
123
124    /**
125     * The actual algorithm to use. Defaults to MD5
126     *
markdown.php https://bitbucket.org/rohitkumbhar/breezingforms_gc.git | PHP | 1,974 lines
1<?php
2/**
16
17$MarkdownPHPVersion    = 'Extra 1.0.1';
18$MarkdownSyntaxVersion = '1.0.1'; 
69		$md_hidden_tags = array(
70			'<p>'	=> md5('<p>'),		'</p>'	=> md5('</p>'),
71			'<pre>'	=> md5('<pre>'),	'</pre>'=> md5('</pre>'),
72			'<ol>'	=> md5('<ol>'),		'</ol>'	=> md5('</ol>'),
73			'<ul>'	=> md5('<ul>'),		'</ul>'	=> md5('</ul>'),
74			'<li>'	=> md5('<li>'),		'</li>'	=> md5('</li>'),
92function identify_modifier_markdown() {
93	global $MarkdownPHPVersion;
94	return array(
1776
1777# _TokenizeHTML is shared between PHP Markdown and PHP SmartyPants.
1778# We only define it if it is not already defined.
modifier.markdown.php https://github.com/dpcdesigns/agilebill.git | PHP | 1,989 lines
40Plugin Name: PHP Markdown Extra
41Plugin URI: http://www.michelf.com/projects/php-markdown/
42Description: <a href="http://daringfireball.net/projects/markdown/syntax">Markdown syntax</a> allows you to write using an easy-to-read, easy-to-write plain text format. Based on the original Perl version by <a href="http://daringfireball.net/">John Gruber</a>. <a href="http://www.michelf.com/projects/php-markdown/">More...</a>
86		$md_hidden_tags = array(
87			'<p>'	=> md5('<p>'),		'</p>'	=> md5('</p>'),
88			'<pre>'	=> md5('<pre>'),	'</pre>'=> md5('</pre>'),
88			'<pre>'	=> md5('<pre>'),	'</pre>'=> md5('</pre>'),
89			'<ol>'	=> md5('<ol>'),		'</ol>'	=> md5('</ol>'),
90			'<ul>'	=> md5('<ul>'),		'</ul>'	=> md5('</ul>'),
90			'<ul>'	=> md5('<ul>'),		'</ul>'	=> md5('</ul>'),
91			'<li>'	=> md5('<li>'),		'</li>'	=> md5('</li>'),
92			);
1793
1794# _TokenizeHTML is shared between PHP Markdown and PHP SmartyPants.
1795# We only define it if it is not already defined.
checkmd5.php https://gitlab.com/xmanager/xmanager0_public.git | PHP | 3,324 lines
195";
196if (md5(file_get_contents("./src/phpfreechat.class.php")) == "16de43366ab8e1125469a42253c18285")
197  $files_ok[] = "<span style=\"color:#3A3\">ok - ./src/phpfreechat.class.php</span>
2499";
2500if (md5(file_get_contents("./lib/pear/PHPUnit/TestSuite.php")) == "13df054bceb10f7604a5796cac4361bc")
2501  $files_ok[] = "<span style=\"color:#3A3\">ok - ./lib/pear/PHPUnit/TestSuite.php</span>
2505";
2506if (md5(file_get_contents("./lib/pear/PHPUnit/TestCase.php")) == "9b1d78d9ad5c9f6aa0fc3ae6bf180b20")
2507  $files_ok[] = "<span style=\"color:#3A3\">ok - ./lib/pear/PHPUnit/TestCase.php</span>
2511";
2512if (md5(file_get_contents("./lib/pear/PHPUnit/TestDecorator.php")) == "a0be8efea0c4416fe8e2b3099253a0d9")
2513  $files_ok[] = "<span style=\"color:#3A3\">ok - ./lib/pear/PHPUnit/TestDecorator.php</span>
2517";
2518if (md5(file_get_contents("./lib/pear/PHPUnit/Skeleton.php")) == "1d9b6092a307cebc59a4633260475c06")
2519  $files_ok[] = "<span style=\"color:#3A3\">ok - ./lib/pear/PHPUnit/Skeleton.php</span>
checkmd5.php https://gitlab.com/X-Manager/XManager0_public.git | PHP | 3,324 lines
195";
196if (md5(file_get_contents("./src/phpfreechat.class.php")) == "16de43366ab8e1125469a42253c18285")
197  $files_ok[] = "<span style=\"color:#3A3\">ok - ./src/phpfreechat.class.php</span>
2499";
2500if (md5(file_get_contents("./lib/pear/PHPUnit/TestSuite.php")) == "13df054bceb10f7604a5796cac4361bc")
2501  $files_ok[] = "<span style=\"color:#3A3\">ok - ./lib/pear/PHPUnit/TestSuite.php</span>
2505";
2506if (md5(file_get_contents("./lib/pear/PHPUnit/TestCase.php")) == "9b1d78d9ad5c9f6aa0fc3ae6bf180b20")
2507  $files_ok[] = "<span style=\"color:#3A3\">ok - ./lib/pear/PHPUnit/TestCase.php</span>
2511";
2512if (md5(file_get_contents("./lib/pear/PHPUnit/TestDecorator.php")) == "a0be8efea0c4416fe8e2b3099253a0d9")
2513  $files_ok[] = "<span style=\"color:#3A3\">ok - ./lib/pear/PHPUnit/TestDecorator.php</span>
2517";
2518if (md5(file_get_contents("./lib/pear/PHPUnit/Skeleton.php")) == "1d9b6092a307cebc59a4633260475c06")
2519  $files_ok[] = "<span style=\"color:#3A3\">ok - ./lib/pear/PHPUnit/Skeleton.php</span>
Hash.php http://yurishop.googlecode.com/svn/trunk/ | PHP | 817 lines
1<?php
2/* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4: */
4/**
5 * Pure-PHP implementations of keyed-hash message authentication codes (HMACs) and various cryptographic hashing functions.
6 *
8 *
9 * md2, md5, md5-96, sha1, sha1-96, sha256, sha384, and sha512
10 *
13 *
14 * PHP versions 4 and 5
15 *
20 * <code>
21 * <?php
22 *    include('Crypt/Hash.php');
48 * @package    Crypt_Hash
49 * @author     Jim Wigginton <terrafrost@php.net>
50 * @copyright  MMVII Jim Wigginton
SSH2.php http://yurishop.googlecode.com/svn/trunk/ | PHP | 2,303 lines
71 */
72require_once('phpseclib/Math/BigInteger.php');
73
96 */
97require_once('phpseclib/Crypt/AES.php');
98
766            'hmac-md5-96',  // OPTIONAL        first 96 bits of HMAC-MD5 (digest length = 12, key length = 16)
767            'hmac-md5',     // OPTIONAL        HMAC-MD5 (digest length = key length = 16)
768            'none'          // OPTIONAL        no MAC; NOT RECOMMENDED
1286
1287        // although PHP5's get_class() preserves the case, PHP4's does not
1288        if (is_object($password) && strtolower(get_class($password)) == 'crypt_rsa')  {
1513     *
1514     * Will be called, automatically, if you're supporting just PHP5.  If you're supporting PHP4, you'll need to call
1515     * disconnect().
S3.php http://yurishop.googlecode.com/svn/trunk/ | PHP | 956 lines
1<?php
2/**
33/**
34 * Amazon S3 PHP connection class
35 *
84             */
85            #require_once 'Zend/Service/Amazon/S3/Exception.php';
86            throw new Zend_Service_Amazon_S3_Exception('Invalid endpoint supplied');
403        if(!is_resource($data)) {
404            $headers['Content-MD5'] = base64_encode(md5($data, true));
405        }
413
414        // Check the MD5 Etag returned by S3 against and MD5 of the buffer
415        if ($response->getStatus() == 200) {
484        if(!isset($meta['Content-MD5'])) {
485            $headers['Content-MD5'] = base64_encode(md5_file($path, true));
486        }
class.smtp.php http://oraculum-php.googlecode.com/svn/trunk/ | PHP | 959 lines
7 * @package   PHPMailer
8 * @link      https://github.com/PHPMailer/PHPMailer/
9 * @author Marcus Bointon (coolbru) <phpmailer@synchromedia.co.uk>
27 * @package  PHPMailer
28 * @link     https://github.com/PHPMailer/PHPMailer/blob/master/class.smtp.php
29 * @author   Chris Ryan <unknown@example.com>
386                // Start authentication
387                if (!$this->sendCommand('AUTH CRAM-MD5', 'AUTH CRAM-MD5', 334)) {
388                    return false;
418        // The following borrowed from
419        // http://php.net/manual/en/function.mhash.php#27225
420
435
436        return md5($k_opad . pack('H*', md5($k_ipad . $data)));
437    }
getid3.php http://buddypress-media.googlecode.com/svn/bp_media/trunk/ | PHP | 1,397 lines
39	// public: Optional calculations
40	var $option_md5_data          = false; // Get MD5 sum of data part - slow
41	var $option_md5_data_source   = false; // Use MD5 of source file if availble - only FLAC and OptimFROG
57		if (phpversion() < '4.2.0') {
58		    $this->startup_error .= 'getID3() requires PHP v4.2.0 or higher - you are running v'.phpversion();
59		}
71		} elseif ($memory_limit <= 12582912) {
72	    	$this->startup_warning .= 'PHP has less than 12MB available memory and might run out if all modules are loaded. Increase memory_limit in php.ini';
73		}
171			if (GETID3_OS_ISWINDOWS) {
172				$errormessage .= 'PHP does not have iconv() support. Please enable php_iconv.dll in php.ini, and copy iconv.dll from c:/php/dlls to c:/windows/system32';
173			} else {
397			// do not cald md5_data if md5_data_source is present - set by flac only - future MPC/SV8 too
398			if (!$this->option_md5_data_source || empty($this->info['md5_data_source'])) {
399				$this->getHashdata('md5');
SSH2.php https://code.google.com/p/s3db/ | PHP | 2,085 lines
1<?php
2/* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4: */
24 * <code>
25 * <?php
26 *    include('Crypt/RSA.php');
26 *    include('Crypt/RSA.php');
27 *    include('Net/SSH2.php');
28 *
658            'hmac-sha1',    // REQUIRED        HMAC-SHA1 (digest length = key length = 20)
659            'hmac-md5-96',  // OPTIONAL        first 96 bits of HMAC-MD5 (digest length = 12, key length = 16)
660            'hmac-md5',     // OPTIONAL        HMAC-MD5 (digest length = key length = 16)
1245
1246        // although PHP5's get_class() preserves the case, PHP4's does not
1247        if (strtolower(get_class($password)) == 'crypt_rsa')  {
1520     *
1521     * Will be called, automatically, if you're supporting just PHP5.  If you're supporting PHP4, you'll need to call
1522     * disconnect().
items.php http://joomlaworks.googlecode.com/svn/trunk/ | text | 0 lines
1<?php
2/**
2/**
3 * @version		$Id: items.php 1118 2011-10-11 15:26:20Z lefteris.kavadas $
4 * @package		K2
78			if ($params->get('showChildCatItems')) {
79				require_once (JPATH_SITE.DS.'components'.DS.'com_k2'.DS.'models'.DS.'itemlist.php');
80				$categories = K2ModelItemlist::getCategoryTree($filter_category);
172			if ($params->get('showChildCatItems')) {
173				require_once (JPATH_SITE.DS.'components'.DS.'com_k2'.DS.'models'.DS.'itemlist.php');
174				$categories = K2ModelItemlist::getCategoryTree($filter_category);
211		$cache->clean();
212		$mainframe->redirect('index.php?option=com_k2&view=items');
213	}
225		$cache->clean();
226		$mainframe->redirect('index.php?option=com_k2&view=items');
227	}
S3.php http://display-ui.googlecode.com/svn/trunk/ | PHP | 971 lines
1<?php
2/**
33/**
34 * Amazon S3 PHP connection class
35 *
84             */
85            require_once 'Zend/Service/Amazon/S3/Exception.php';
86            throw new Zend_Service_Amazon_S3_Exception('Invalid endpoint supplied');
411        if(!is_resource($data)) {
412            $headers['Content-MD5'] = base64_encode(md5($data, true));
413        }
421
422        // Check the MD5 Etag returned by S3 against and MD5 of the buffer
423        if ($response->getStatus() == 200) {
492        if(!isset($meta['Content-MD5'])) {
493            $headers['Content-MD5'] = base64_encode(md5_file($path, true));
494        }
getid3.php https://code.google.com/p/molinos-cms/ | PHP | 1,375 lines
39	// public: Optional calculations
40	var $option_md5_data          = false; // Get MD5 sum of data part - slow
41	var $option_md5_data_source   = false; // Use MD5 of source file if availble - only FLAC and OptimFROG
57		if (phpversion() < '4.2.0') {
58		    $this->startup_error .= 'getID3() requires PHP v4.2.0 or higher - you are running v'.phpversion();
59		}
71		} elseif ($memory_limit <= 12582912) {
72	    	$this->startup_warning .= 'PHP has less than 12MB available memory and might run out if all modules are loaded. Increase memory_limit in php.ini';
73		}
170			if (GETID3_OS_ISWINDOWS) {
171				$errormessage .= 'PHP does not have iconv() support. Please enable php_iconv.dll in php.ini, and copy iconv.dll from c:/php/dlls to c:/windows/system32';
172			} else {
384			// do not cald md5_data if md5_data_source is present - set by flac only - future MPC/SV8 too
385			if (!$this->option_md5_data_source || empty($this->info['md5_data_source'])) {
386				$this->getHashdata('md5');
getid3.php https://bitbucket.org/chamilo/chamilo/ | PHP | 1,261 lines
39	// public: Optional calculations
40	var $option_md5_data          = false; // Get MD5 sum of data part - slow
41	var $option_md5_data_source   = false; // Use MD5 of source file if availble - only FLAC and OptimFROG
57		if (phpversion() < '4.1.0') {
58		    $this->startup_error .= 'getID3() requires PHP v4.1.0 or higher - you are running v'.phpversion();
59		}
71		} elseif ($memory_limit <= 12582912) {
72	    	$this->startup_warning .= 'PHP has less than 12MB available memory and might run out if all modules are loaded. Increase memory_limit in php.ini';
73		}
140			if (GETID3_OS_ISWINDOWS) {
141				$errormessage .= 'PHP does not have iconv() support. Please enable php_iconv.dll in php.ini, and copy iconv.dll from c:/php/dlls to c:/windows/system32';
142			} else {
334			// do not cald md5_data if md5_data_source is present - set by flac only - future MPC/SV8 too
335			if (!$this->option_md5_data_source || empty($this->info['md5_data_source'])) {
336				$this->getHashdata('md5');
functions_messenger.php git://github.com/phpbb/phpbb3.git | PHP | 1,933 lines
794	{
795		global $phpEx, $phpbb_root_path, $phpbb_filesystem, $phpbb_container;
796
825	{
826		global $config, $phpEx, $phpbb_root_path, $user, $phpbb_dispatcher;
827
1715		$password = (strlen($password) > 64) ? pack('H32', md5($password)) : ((strlen($password) < 64) ? str_pad($password, 64, chr(0)) : $password);
1716		$md5_digest = md5((substr($password, 0, 64) ^ str_repeat(chr(0x5C), 64)) . (pack('H32', md5((substr($password, 0, 64) ^ str_repeat(chr(0x36), 64)) . $md5_challenge))));
1717
1811
1812			$auth_1 = sprintf('%s:%s:%s', pack('H32', md5(sprintf('%s:%s:%s', $username, $md5_challenge['realm'], $password))), $md5_challenge['nonce'], $cnonce);
1813			$auth_2 = 'AUTHENTICATE:' . $digest_uri;
1813			$auth_2 = 'AUTHENTICATE:' . $digest_uri;
1814			$response_value = md5(sprintf('%s:%s:00000001:%s:auth:%s', md5($auth_1), $md5_challenge['nonce'], $cnonce, md5($auth_2)));
1815
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21