PageRenderTime 807ms queryFilters 1ms Sphinxql 282ms GetByIds 270ms meta 0ms repositoryFilters 66ms languageFilters 5ms sourceFilters 86ms

66,045 results for 'php md5 repo:izubizarreta/https-bitbucket.org-bityvip' (807 ms)

Source

Language

Repository

functions.php http://lazycms.googlecode.com/svn/trunk/ | PHP | 1,967 lines
1<?php
2/**
34function parse_phpinfo() {
35    ob_start(); phpinfo(INFO_MODULES); $s = ob_get_contents(); ob_end_clean();
36    $s = strip_tags($s, '<h2><th><td>');
78 *
79 * @param string $path  %ID,%PY,%MD5 ? strftime() ?????
80 * @param array $data
97            } elseif ($k=='MD5') {
98                $md5 = md5($path.$v);
99            }
102        if ($id)  $path = str_replace(array('%ID','%id'),   $id,  $path);
103        if ($md5) $path = str_replace(array('%MD5','%md5'), $md5, $path);
104    }
1612if (!function_exists('http_build_query')) {
1613    // from php.net (modified by Mark Jaquith to behave like the native PHP5 function)
1614	function http_build_query($data, $prefix=null, $sep=null, $key='', $urlencode=true) {
class.smtp.php git://github.com/modxcms/revolution.git | PHP | 1,276 lines
1<?php
2/**
5 * @package PHPMailer
6 * @link https://github.com/PHPMailer/PHPMailer/ The PHPMailer GitHub project
7 * @author Marcus Bointon (Synchro/coolbru) <phpmailer@synchromedia.co.uk>
20/**
21 * PHPMailer RFC821 SMTP email transport class.
22 * Implements RFC 821 SMTP commands and provides some utility methods for sending mail to an SMTP server.
533                // Start authentication
534                if (!$this->sendCommand('AUTH CRAM-MD5', 'AUTH CRAM-MD5', 334)) {
535                    return false;
567        // The following borrowed from
568        // http://php.net/manual/en/function.mhash.php#27225
569
584
585        return md5($k_opad . pack('H*', md5($k_ipad . $data)));
586    }
S3.php git://github.com/frapi/frapi.git | PHP | 900 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');
402        if(!is_resource($data)) {
403            $headers['Content-MD5'] = base64_encode(md5($data, true));
404        }
412
413        // Check the MD5 Etag returned by S3 against and MD5 of the buffer
414        if ($response->getStatus() == 200) {
483        if(!isset($meta['Content-MD5'])) {
484            $headers['Content-MD5'] = base64_encode(md5_file($path, true));
485        }
S3.php http://grupal.googlecode.com/svn/trunk/ | PHP | 1,016 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');
456        if(!is_resource($data)) {
457            $headers['Content-MD5'] = base64_encode(md5($data, true));
458        }
466
467        // Check the MD5 Etag returned by S3 against and MD5 of the buffer
468        if ($response->getStatus() == 200) {
537        if(!isset($meta['Content-MD5'])) {
538            $meta['Content-MD5'] = base64_encode(md5_file($path, true));
539        }
Hash.php git://github.com/fuel/core.git | PHP | 854 lines
1<?php
2/* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4: */
3
4namespace PHPSecLib;
5
6/**
7 * Pure-PHP implementations of keyed-hash message authentication codes (HMACs) and various cryptographic hashing functions.
8 *
10 *
11 * md2, md5, md5-96, sha1, sha1-96, sha256, sha384, and sha512
12 *
15 *
16 * PHP versions 4 and 5
17 *
22 * <code>
23 * <?php
24 *    include('Crypt/Hash.php');
MarkdownParser.php http://prado3.googlecode.com/svn/trunk/ | PHP | 1,257 lines
1<?php
2
9# Copyright (c) 2004-2005 Michel Fortin - PHP Port
10# <http://www.michelf.com/projects/php-markdown/>
11#
13/**
14 * PHP5 version of the markdown parser.
15 * Usage:
48		self::$md_escape_table = array(
49			"\\" => md5("\\"),
50			"`" => md5("`"),
50			"`" => md5("`"),
51			"*" => md5("*"),
52			"_" => md5("_"),
1068
1069	# _TokenizeHTML is shared between PHP Markdown and PHP SmartyPants.
1070	# We only define it if it is not already defined.
log-2009-05-06.php http://classroombookings.googlecode.com/svn/trunk/ | PHP | 195 lines
1<?php  if ( ! defined('BASEPATH')) exit('No direct script access allowed'); ?>
2
10DEBUG - 2009-05-06 11:12:10 --> Helper loaded: misc_helper
11DEBUG - 2009-05-06 11:12:10 --> Language file loaded: language/english/crbs2_lang.php
12DEBUG - 2009-05-06 11:12:10 --> Database Driver Class Initialized
22DEBUG - 2009-05-06 11:12:10 --> Model Class Initialized
23DEBUG - 2009-05-06 11:12:10 --> File loaded: C:\wamp\www\projects\crbs2/app/views/parts/linkbar.php
24DEBUG - 2009-05-06 11:12:10 --> File loaded: C:\wamp\www\projects\crbs2/app/views/parts/listactions.php
24DEBUG - 2009-05-06 11:12:10 --> File loaded: C:\wamp\www\projects\crbs2/app/views/parts/listactions.php
25DEBUG - 2009-05-06 11:12:10 --> File loaded: C:\wamp\www\projects\crbs2/app/views/parts/listactions.php
26DEBUG - 2009-05-06 11:12:10 --> File loaded: C:\wamp\www\projects\crbs2/app/views/rooms/attributes/index.php
82DEBUG - 2009-05-06 11:12:32 --> MD5 of new options: 63de5699646d85ec3c63db82b999f9bd
83DEBUG - 2009-05-06 11:12:32 --> The md5 hash of the old field options matches the editing md5
84DEBUG - 2009-05-06 11:12:32 --> File loaded: C:\wamp\www\projects\crbs2/app/views/msg/info.php
164DEBUG - 2009-05-06 11:13:02 --> MD5 of new options: 63de5699646d85ec3c63db82b999f9bd
165DEBUG - 2009-05-06 11:13:02 --> The md5 hash of the old field options matches the editing md5
166DEBUG - 2009-05-06 11:13:02 --> File loaded: C:\wamp\www\projects\crbs2/app/views/msg/info.php
Hash.php http://wolfcms.googlecode.com/svn/trunk/ | PHP | 824 lines
1<?php
2/*
4 *
5 * The following code was copied as-is from the phphseclib library version 0.2.1a
6 * apart from the following changes:
6 * apart from the following changes:
7 *     - changed include of BigInteger.php to Wolf CMS specific include.
8 *
12/**
13 * Pure-PHP implementations of keyed-hash message authentication codes (HMACs) and various cryptographic hashing functions.
14 *
16 *
17 * md2, md5, md5-96, sha1, sha1-96, sha256, sha384, and sha512
18 *
21 *
22 * PHP versions 4 and 5
23 *
componentlib.class.php git://github.com/moodle/moodle.git | PHP | 837 lines
162    var $zipfilename;  /// Name of the .zip file to be downloaded
163    var $md5filename;  /// Name of the .md5 file to be read
164    var $componentname;/// Name of the component. Must be the zip name without
389    /// Get remote md5
390        if (!$remote_md5 = $this->get_component_md5()) {
391            return COMPONENT_ERROR;
393    /// Return result
394       if ($local_md5 == $remote_md5) {
395           return COMPONENT_UPTODATE;
444     * This function will download the specified md5 file, looking for the
445     * current componentname, returning its md5 field and storing extramd5info
446     * if present. Also it caches results to cachedmd5components for better
567
568    /** This function returns the extramd5 field (optional in md5 file)
569     *
class.t3lib_div.php git://github.com/moodle/moodle.git | PHP | 5,839 lines
3245			// then this is the real limit in PHP
3246		$phpUploadLimit = ($phpPostLimit < $phpUploadLimit ? $phpPostLimit : $phpUploadLimit);
3247
3442				HTTP_HOST		=	[host][:[port]]		= 192.168.1.4:8080
3443				SCRIPT_NAME		=	[path_script]++		= /typo3/32/temp/phpcheck/index.php		// NOTICE THAT SCRIPT_NAME will return the php-script name ALSO. [path_script] may not do that (eg. '/somedir/' may result in SCRIPT_NAME '/somedir/index.php')!
3444				PATH_INFO		=	[path_info]			= /arg1/arg2/arg3/
3498				$retVal = str_replace('//', '/', str_replace('\\', '/',
3499					(PHP_SAPI == 'fpm-fcgi' || PHP_SAPI == 'cgi' || PHP_SAPI == 'isapi' || PHP_SAPI == 'cgi-fcgi') &&
3500							($_SERVER['ORIG_PATH_TRANSLATED'] ? $_SERVER['ORIG_PATH_TRANSLATED'] : $_SERVER['PATH_TRANSLATED']) ?
3529					//				if (strcmp($_SERVER['PATH_INFO'],self::getIndpEnv('SCRIPT_NAME')) && count(explode('/',$_SERVER['PATH_INFO']))>1)	{
3530				if (PHP_SAPI != 'cgi' && PHP_SAPI != 'cgi-fcgi' && PHP_SAPI != 'fpm-fcgi') {
3531					$retVal = $_SERVER['PATH_INFO'];
5403				'cache_md5params',
5404					'md5hash=' . $GLOBALS['TYPO3_DB']->fullQuoteStr($md5, 'cache_md5params')
5405			);
functions_messenger.php https://code.google.com/p/mwenhanced/ | PHP | 1,571 lines
611		// Determine EOL character (\n for UNIX, \r\n for Windows and \r for Mac)
612		$this->eol = (!defined('PHP_EOL')) ? (($eol = strtolower(substr(PHP_OS, 0, 3))) == 'win') ? "\r\n" : (($eol == 'mac') ? "\r" : "\n") : PHP_EOL;
613		$this->eol = (!$this->eol) ? "\n" : $this->eol;
1372		$password = (strlen($password) > 64) ? pack('H32', md5($password)) : ((strlen($password) < 64) ? str_pad($password, 64, chr(0)) : $password);
1373		$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))));
1374
1468
1469			$auth_1 = sprintf('%s:%s:%s', pack('H32', md5(sprintf('%s:%s:%s', $username, $md5_challenge['realm'], $password))), $md5_challenge['nonce'], $cnonce);
1470			$auth_2 = 'AUTHENTICATE:' . $digest_uri;
1470			$auth_2 = 'AUTHENTICATE:' . $digest_uri;
1471			$response_value = md5(sprintf('%s:%s:00000001:%s:auth:%s', md5($auth_1), $md5_challenge['nonce'], $cnonce, md5($auth_2)));
1472
1472
1473			$input_string = sprintf('username="%s",realm="%s",nonce="%s",cnonce="%s",nc="00000001",qop=auth,digest-uri="%s",response=%s,%d', $username, $md5_challenge['realm'], $md5_challenge['nonce'], $cnonce, $digest_uri, $response_value, $md5_challenge['maxbuf']);
1474		}
imap_general.php https://squirrelmail.svn.sourceforge.net/svnroot/squirrelmail | PHP | 1,138 lines
1<?php
2
10 *
11 * $Id: imap_general.php 6131 2003-11-09 17:50:54Z alex-brainstorm $
12 * @package squirrelmail
15/** Includes.. */
16require_once(SM_PATH . 'functions/page_header.php');
17require_once(SM_PATH . 'functions/auth.php');
55        set_up_language($squirrelmail_language);
56        require_once(SM_PATH . 'functions/display_messages.php');
57        $string = "<b><font color=$color[2]>\n" .
92        set_up_language($squirrelmail_language);
93        require_once(SM_PATH . 'functions/display_messages.php');
94        $string = "<b><font color=$color[2]>\n" .
621
622    if (($imap_auth_mech == 'cram-md5') OR ($imap_auth_mech == 'digest-md5')) {
623    // We're using some sort of authentication OTHER than plain or login
imap_general.php https://squirrelmail.svn.sourceforge.net/svnroot/squirrelmail | PHP | 942 lines
1<?php
2
16/** Includes.. */
17require_once(SM_PATH . 'functions/page_header.php');
18require_once(SM_PATH . 'functions/auth.php');
49        set_up_language($squirrelmail_language);
50        require_once(SM_PATH . 'functions/display_messages.php');
51        $string = "<b><font color=\"$color[2]\">\n" .
70        set_up_language($squirrelmail_language);
71        require_once(SM_PATH . 'functions/display_messages.php');
72        $string = "<b><font color=\"$color[2]\">\n" .
466
467    if (($imap_auth_mech == 'cram-md5') OR ($imap_auth_mech == 'digest-md5')) {
468        // We're using some sort of authentication OTHER than plain or login
511            $message = _("The IMAP server is reporting that plain text logins are disabled.").' '.
512                _("Using CRAM-MD5 or DIGEST-MD5 authentication instead may work.").' ';
513            if (!$use_imap_tls) {
config_default.php https://squirrelmail.svn.sourceforge.net/svnroot/squirrelmail | PHP | 844 lines
1<?php
2
57 *
58 * Rather than going to the signout.php page (which only allows you
59 * to sign back in), setting signout_page allows you to sign the user
194 *
195 * CRAM-MD5, DIGEST-MD5, Plain, and TLS
196 * Set reasonable defaults - you'd never know this was there unless you ask for it
203 *
204 * CRAM-MD5, DIGEST-MD5, Plain, and TLS
205 * Set reasonable defaults - you'd never know this was there unless you ask for it
212 *
213 * auth_mech can be either 'none', 'login','plain', 'cram-md5', or 'digest-md5'
214 * @global string $smtp_auth_mech
220 *
221 * auth_mech can be either 'login','plain', 'cram-md5', or 'digest-md5'
222 * @global string $imap_auth_mech
config_default.php https://squirrelmail.svn.sourceforge.net/svnroot/squirrelmail | PHP | 974 lines
1<?php
2
164 *
165 * Encoded information can be decoded with decrypt_headers.php script
166 * from SquirrelMail contrib/ directory.
221 *
222 * CRAM-MD5, DIGEST-MD5, Plain, and TLS
223 * Set reasonable defaults - you'd never know this was there unless you ask for it
230 *
231 * CRAM-MD5, DIGEST-MD5, Plain, and TLS
232 * Set reasonable defaults - you'd never know this was there unless you ask for it
239 *
240 * auth_mech can be either 'none', 'login','plain', 'cram-md5', or 'digest-md5'
241 * @global string $smtp_auth_mech
247 *
248 * auth_mech can be either 'login','plain', 'cram-md5', or 'digest-md5'
249 * @global string $imap_auth_mech
imap_general.php https://squirrelmail.svn.sourceforge.net/svnroot/squirrelmail | PHP | 920 lines
1<?php
2
10 *
11 * $Id: imap_general.php 5772 2003-09-24 23:03:37Z stekkel $
12 */
13
14require_once(SM_PATH . 'functions/page_header.php');
15require_once(SM_PATH . 'functions/auth.php');
43        set_up_language($squirrelmail_language);
44        require_once(SM_PATH . 'functions/display_messages.php');
45        $string = "<b><font color=$color[2]>\n" .
65        set_up_language($squirrelmail_language);
66        require_once(SM_PATH . 'functions/display_messages.php');
67        $string = "<b><font color=$color[2]>\n" .
473
474        if (($imap_auth_mech == 'cram-md5') OR ($imap_auth_mech == 'digest-md5')) {
475      // We're using some sort of authentication OTHER than plain or login
imap_general.php https://squirrelmail.svn.sourceforge.net/svnroot/squirrelmail | PHP | 911 lines
1<?php
2
10 *
11 * $Id: imap_general.php 7345 2004-05-02 13:54:36Z stekkel $
12 */
13
14require_once(SM_PATH . 'functions/page_header.php');
15require_once(SM_PATH . 'functions/auth.php');
43        set_up_language($squirrelmail_language);
44        require_once(SM_PATH . 'functions/display_messages.php');
45        $string = "<b><font color=$color[2]>\n" .
65        set_up_language($squirrelmail_language);
66        require_once(SM_PATH . 'functions/display_messages.php');
67        $string = "<b><font color=$color[2]>\n" .
464
465        if (($imap_auth_mech == 'cram-md5') OR ($imap_auth_mech == 'digest-md5')) {
466      // We're using some sort of authentication OTHER than plain or login
config_default.php https://squirrelmail.svn.sourceforge.net/svnroot/squirrelmail | PHP | 826 lines
1<?php
2
57 *
58 * Rather than going to the signout.php page (which only allows you
59 * to sign back in), setting signout_page allows you to sign the user
204 *
205 * CRAM-MD5, DIGEST-MD5, Plain, and TLS
206 * Set reasonable defaults - you'd never know this was there unless you ask for it
213 *
214 * CRAM-MD5, DIGEST-MD5, Plain, and TLS
215 * Set reasonable defaults - you'd never know this was there unless you ask for it
222 *
223 * auth_mech can be either 'none', 'login','plain', 'cram-md5', or 'digest-md5'
224 * @global string $smtp_auth_mech
230 *
231 * auth_mech can be either 'login','plain', 'cram-md5', or 'digest-md5'
232 * @global string $imap_auth_mech
config_default.php https://squirrelmail.svn.sourceforge.net/svnroot/squirrelmail | PHP | 1,067 lines
1<?php
2
164 *
165 * Encoded information can be decoded with decrypt_headers.php script
166 * from SquirrelMail contrib/ directory.
235 *
236 * CRAM-MD5, DIGEST-MD5, Plain, and TLS
237 * Set reasonable defaults - you'd never know this was there unless you ask for it
244 *
245 * CRAM-MD5, DIGEST-MD5, Plain, and TLS
246 * Set reasonable defaults - you'd never know this was there unless you ask for it
253 *
254 * auth_mech can be either 'none', 'login','plain', 'cram-md5', or 'digest-md5'
255 * @global string $smtp_auth_mech
281 *
282 * auth_mech can be either 'login','plain', 'cram-md5', or 'digest-md5'
283 * @global string $imap_auth_mech
imap_general.php https://squirrelmail.svn.sourceforge.net/svnroot/squirrelmail | PHP | 912 lines
1<?php
2
10 *
11 * $Id: imap_general.php 5247 2003-07-07 23:31:50Z  $
12 */
13
14require_once(SM_PATH . 'functions/page_header.php');
15require_once(SM_PATH . 'functions/auth.php');
43        set_up_language($squirrelmail_language);
44        require_once(SM_PATH . 'functions/display_messages.php');
45        $string = "<b><font color=$color[2]>\n" .
65        set_up_language($squirrelmail_language);
66        require_once(SM_PATH . 'functions/display_messages.php');
67        $string = "<b><font color=$color[2]>\n" .
465
466        if (($imap_auth_mech == 'cram-md5') OR ($imap_auth_mech == 'digest-md5')) {
467      // We're using some sort of authentication OTHER than plain or login
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21