PageRenderTime 994ms queryFilters 80ms Sphinxql 362ms GetByIds 371ms meta 0ms repositoryFilters 123ms languageFilters 5ms sourceFilters 45ms

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

Source

Language

Repository

imap_general.php https://squirrelmail.svn.sourceforge.net/svnroot/squirrelmail | PHP | 981 lines
1<?php
2
9 * @license http://opensource.org/licenses/gpl-license.php GNU Public License
10 * @version $Id: imap_general.php 13733 2009-05-21 17:11:04Z kink $
11 * @package squirrelmail
15/** Includes.. */
16require_once(SM_PATH . 'functions/page_header.php');
17require_once(SM_PATH . 'functions/auth.php');
48        set_up_language($squirrelmail_language);
49        require_once(SM_PATH . 'functions/display_messages.php');
50        $string = "<b><font color=\"$color[2]\">\n" .
471
472    if (($imap_auth_mech == 'cram-md5') OR ($imap_auth_mech == 'digest-md5')) {
473        // We're using some sort of authentication OTHER than plain or login
516            $message = _("The IMAP server is reporting that plain text logins are disabled.").' '.
517                _("Using CRAM-MD5 or DIGEST-MD5 authentication instead may work.").' ';
518            if (!$use_imap_tls) {
imap_general.php https://squirrelmail.svn.sourceforge.net/svnroot/squirrelmail | PHP | 1,087 lines
1<?php
2
9 * @license http://opensource.org/licenses/gpl-license.php GNU Public License
10 * @version $Id: imap_general.php 14290 2012-03-24 10:41:19Z kink $
11 * @package squirrelmail
15/** Includes.. */
16require_once(SM_PATH . 'functions/page_header.php');
17require_once(SM_PATH . 'functions/auth.php');
48        set_up_language($squirrelmail_language);
49        require_once(SM_PATH . 'functions/display_messages.php');
50        $string = "<b><font color=\"$color[2]\">\n" .
541
542    if (($imap_auth_mech == 'cram-md5') OR ($imap_auth_mech == 'digest-md5')) {
543        // We're using some sort of authentication OTHER than plain or login
586            $message = _("The IMAP server is reporting that plain text logins are disabled.").' '.
587                _("Using CRAM-MD5 or DIGEST-MD5 authentication instead may work.").' ';
588            if (!$use_imap_tls) {
imap_general.php https://squirrelmail.svn.sourceforge.net/svnroot/squirrelmail | PHP | 1,423 lines
9 * @license http://opensource.org/licenses/gpl-license.php GNU Public License
10 * @version $Id: imap_general.php 12128 2007-01-13 20:15:44Z kink $
11 * @package squirrelmail
16
17require_once(SM_PATH . 'functions/rfc822address.php');
18
738        } else {
739            // php install does not support stream_socket_enable_crypto() function
740            sqimap_error_box(sprintf(_("Error connecting to IMAP server: %s."), $server),
817
818    if (($imap_auth_mech == 'cram-md5') OR ($imap_auth_mech == 'digest-md5')) {
819        // We're using some sort of authentication OTHER than plain or login
1413 * Requires access to external ypmatch program
1414 * FIXME: it can be implemented in php yp extension or pecl (since php 5.1.0)
1415 * @param string $username
imap_general.php https://squirrelmail.svn.sourceforge.net/svnroot/squirrelmail | PHP | 1,444 lines
9 * @license http://opensource.org/licenses/gpl-license.php GNU Public License
10 * @version $Id: imap_general.php 14291 2012-03-24 10:42:31Z kink $
11 * @package squirrelmail
16
17require_once(SM_PATH . 'functions/rfc822address.php');
18
756        } else {
757            // php install does not support stream_socket_enable_crypto() function
758            sqimap_error_box(sprintf(_("Error connecting to IMAP server: %s."), $server),
835
836    if (($imap_auth_mech == 'cram-md5') OR ($imap_auth_mech == 'digest-md5')) {
837        // We're using some sort of authentication OTHER than plain or login
1433 * Requires access to external ypmatch program
1434 * FIXME: it can be implemented in php yp extension or pecl (since php 5.1.0)
1435 * @param string $username
imap_general.php https://squirrelmail.svn.sourceforge.net/svnroot/squirrelmail | text | 0 lines
1<?php
2
9 * @license http://opensource.org/licenses/gpl-license.php GNU Public License
10 * @version $Id: imap_general.php 14142 2011-09-08 22:35:03Z pdontthink $
11 * @package squirrelmail
15/** Includes.. */
16require_once(SM_PATH . 'functions/page_header.php');
17require_once(SM_PATH . 'functions/auth.php');
48        set_up_language($squirrelmail_language);
49        require_once(SM_PATH . 'functions/display_messages.php');
50        $string = "<b><font color=\"$color[2]\">\n" .
541
542    if (($imap_auth_mech == 'cram-md5') OR ($imap_auth_mech == 'digest-md5')) {
543        // We're using some sort of authentication OTHER than plain or login
586            $message = _("The IMAP server is reporting that plain text logins are disabled.").' '.
587                _("Using CRAM-MD5 or DIGEST-MD5 authentication instead may work.").' ';
588            if (!$use_imap_tls) {
imap_general.php https://squirrelmail.svn.sourceforge.net/svnroot/squirrelmail | text | 0 lines
9 * @license http://opensource.org/licenses/gpl-license.php GNU Public License
10 * @version $Id: imap_general.php 14085 2011-01-06 03:16:21Z pdontthink $
11 * @package squirrelmail
16
17require_once(SM_PATH . 'functions/rfc822address.php');
18
756        } else {
757            // php install does not support stream_socket_enable_crypto() function
758            sqimap_error_box(sprintf(_("Error connecting to IMAP server: %s."), $server),
835
836    if (($imap_auth_mech == 'cram-md5') OR ($imap_auth_mech == 'digest-md5')) {
837        // We're using some sort of authentication OTHER than plain or login
1432 * Requires access to external ypmatch program
1433 * FIXME: it can be implemented in php yp extension or pecl (since php 5.1.0)
1434 * @param string $username
installer.inc.php http://compactcms.googlecode.com/svn/trunk/compactcms/ | PHP | 469 lines
48// Step two
49if($nextstep == md5('2') && md5(session_id())==$_SESSION['id'] && md5($_SERVER['HTTP_HOST']) == $_SESSION['host']) { 
50	
82// Step three
83if($nextstep == md5('3') && md5(session_id())==$_SESSION['id'] && md5($_SERVER['HTTP_HOST']) == $_SESSION['host']) { 
84	//
111			<a href="index.php" title="Back to step first step">Cancel</a>
112			<input type="hidden" name="do" value="<?php echo md5('4'); ?>" id="do" />
113		</p>
118// Step four
119if($nextstep == md5('4') && md5(session_id())==$_SESSION['id'] && md5($_SERVER['HTTP_HOST']) == $_SESSION['host']) { 
120	
255// Final step
256if($nextstep == md5('final') && md5(session_id())==$_SESSION['id'] && md5($_SERVER['HTTP_HOST']) == $_SESSION['host']) {
257	
markdown.php http://core.svn.wordpress.org/ | PHP | 1,282 lines
1<?php
2
9# Copyright (c) 2004 Michel Fortin - PHP Port  
10# <http://www.michelf.com/projects/php-markdown/>
11#
13
14global	$MarkdownPHPVersion, $MarkdownSyntaxVersion,
15		$md_empty_element_suffix, $md_tab_width,
19
20$MarkdownPHPVersion    = '1.0.1'; # Fri 17 Dec 2004
21$MarkdownSyntaxVersion = '1.0.1'; # Sun 12 Dec 2004
33Plugin Name: Markdown
34Plugin URI: http://www.michelf.com/projects/php-markdown/
35Description: <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>
1095
1096# _TokenizeHTML is shared between PHP Markdown and PHP SmartyPants.
1097# We only define it if it is not already defined.
markdown.php http://core.svn.wordpress.org/ | PHP | 1,283 lines
1<?php
2
9# Copyright (c) 2004 Michel Fortin - PHP Port  
10# <http://www.michelf.com/projects/php-markdown/>
11#
13
14global	$MarkdownPHPVersion, $MarkdownSyntaxVersion,
15		$md_empty_element_suffix, $md_tab_width,
19
20$MarkdownPHPVersion    = '1.0.1'; # Fri 17 Dec 2004
21$MarkdownSyntaxVersion = '1.0.1'; # Sun 12 Dec 2004
33Plugin Name: Markdown
34Plugin URI: http://www.michelf.com/projects/php-markdown/
35Description: <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>
1096
1097# _TokenizeHTML is shared between PHP Markdown and PHP SmartyPants.
1098# We only define it if it is not already defined.
Digest.cpp https://Phalanger.svn.codeplex.com/svn | C++ | 690 lines
147
148/* {{{ PHP_MD5Init
149 * MD5 initialization. Begins an MD5 operation, writing a new context.
150 */
151ZEND_API void PHP_MD5Init(PHP_MD5_CTX * context)
152{
167 */
168ZEND_API void PHP_MD5Update(PHP_MD5_CTX * context, const unsigned char *input,
169			   unsigned int inputLen)
208 */
209ZEND_API void PHP_MD5Final(unsigned char digest[16], PHP_MD5_CTX * context)
210{
476 */
477ZEND_API void PHP_SHA1Update(PHP_SHA1_CTX * context, const unsigned char *input,
478			   unsigned int inputLen)
func.inc.php https://zport.svn.codeplex.com/svn | PHP | 1,202 lines
1<?php
2
126		if($key == 'php') {
127			$env_items[$key]['current'] = PHP_VERSION;
128		} elseif($key == 'attachmentupload') {
162	foreach($env_items as $key => $item) {
163		if($key == 'php' && strcmp($item['current'], $item['r']) < 0) {
164			show_msg('php_version_too_low', $item['current'], 0);
294	global $uchidden;
295	echo "<form action=\"index.php\" method=\"post\">\n";
296	echo "<input type=\"hidden\" name=\"step\" value=\"$step\" />";
1094	$salt = substr(_generate_key(), 0, 6);
1095	$pw = md5(md5($password).$salt);
1096	$config = "<?php \r\ndefine('UC_DBHOST', '$ucdbhost');\r\n";
1154	$salt = substr(uniqid(rand()), -6);
1155	$passwordmd5 = md5(md5($password).$salt);
1156	$db->query("INSERT INTO {$uctablepre}members SET $sqladd username='$username', password='$passwordmd5', email='$email', regip='hidden', regdate='".time()."', salt='$salt'");
module_userreg.php http://pivotx-sqlite.googlecode.com/svn/trunk/ | PHP | 933 lines
885        if ($this->isUser($name)) {
886            $user = loadSerialize($PIVOTX['paths']['db_path'].'users/'.$name_md5.'.php',true);
887            return $user;
901            list($name, $hash) = explode("|", $_COOKIE['piv_reguser']);
902            $name_md5 = strtolower(md5(strtolower($name))); 
903            if ($this->isUser($name)) {
903            if ($this->isUser($name)) {
904                $user = loadSerialize($PIVOTX['paths']['db_path'].'users/'.$name_md5.'.php',true);
905                if (md5($user['pass']) == $hash) {
917
918        $name_md5 = strtolower(md5(strtolower($user['name']))); 
919
919
920        if (saveSerialize($PIVOTX['paths']['db_path'].'users/'.$name_md5.'.php', $user)) {
921
Http.php http://railoapacheportable.googlecode.com/svn/trunk/ | PHP | 848 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     *
vfs.php http://apuxin.googlecode.com/svn/trunk/ | PHP | 1,468 lines
1<?php
2/**
56// Funktion zum einfachen einbinden von Dateien laden
57include_once( "vfs".DS."importer.php");
58
126  * Argumente:
127  *   $errno - Fehlernummer, siehe dazu die Datei vfs/errno.php
128  *   $detailed - eventuell weitere Informationen zum aufgetretenen Fehler
235  * R?ckgabewerte:
236  *   (md5) - Verschl?sseltes Passwort
237  */
239  {
240    return md5($passwd);
241  }
1435//echo $vfs->sizeOfFolder(DS, array('countHiddenElements' => false));
1436//echo $vfs->sizeOfFile("vfs.php")+$vfs->sizeOfFile("options.php");
1437/*if($vfs->file_exists("vfs.php")) {
vfs.php http://apuxin.googlecode.com/svn/trunk/ | PHP | 1,607 lines
1<?php
2/**
56// Funktion zum einfachen einbinden von Dateien laden
57include_once( "vfs".DS."importer.php");
58
144  * Argumente:
145  *   $errno - Fehlernummer, siehe dazu die Datei vfs/errno.php
146  *   $detailed - eventuell weitere Informationen zum aufgetretenen Fehler
254  * R?ckgabewerte:
255  *   (md5) - Verschl?sseltes Passwort
256  */
258  {
259    return md5($passwd);
260  }
1574//echo $vfs->sizeOfFolder(DS, array('countHiddenElements' => false));
1575//echo $vfs->sizeOfFile("vfs.php")+$vfs->sizeOfFile("options.php");
1576/*if($vfs->file_exists("vfs.php")) {
Http.php git://github.com/valentinbora/joobsbox-php.git | PHP | 847 lines
1<?php
2/**
19 * @license    http://framework.zend.com/license/new-bsd     New BSD License
20 * @version    $Id: Http.php 12503 2008-11-10 16:28:40Z matthew $
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 git://github.com/centurion-project/Centurion.git | PHP | 847 lines
1<?php
2/**
26 */
27//$1 '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 git://github.com/pmjones/php-framework-benchmarks.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     *
SSH2.php https://git01.codeplex.com/openemr | PHP | 2,945 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 *
930            'hmac-sha1',    // REQUIRED        HMAC-SHA1 (digest length = key length = 20)
931            'hmac-md5-96',  // OPTIONAL        first 96 bits of HMAC-MD5 (digest length = 12, key length = 16)
932            'hmac-md5',     // OPTIONAL        HMAC-MD5 (digest length = key length = 16)
1462
1463        // although PHP5's get_class() preserves the case, PHP4's does not
1464        if (is_object($password) && strtolower(get_class($password)) == 'crypt_rsa') {
1979     *
1980     * Will be called, automatically, if you're supporting just PHP5.  If you're supporting PHP4, you'll need to call
1981     * disconnect().
PassHash.class.php https://git01.codeplex.com/portablenginxdokuwik | PHP | 454 lines
126     * @author <mikey_nich at hotmail dot com>
127     * @link   http://de.php.net/manual/en/function.crypt.php#73619
128     * @param string $clear The clear text to hash
155        $this->init_salt($salt, 8);
156        return "{SMD5}".base64_encode(md5($clear.$salt, true).$salt);
157    }
166     * @author <mikey_nich at hotmail dot com>
167     * @link   http://de.php.net/manual/en/function.crypt.php#73619
168     * @param string $clear The clear text to hash
313        $key   = substr($salt, 16, 2);
314        $hash1 = strtolower(md5($key.md5($clear)));
315        $hash2 = substr($hash1, 0, 16).$key.substr($hash1, 16);
418        $this->init_salt($salt, 5);
419        return 'md5$'.$salt.'$'.md5($salt.$clear);
420    }
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21