PageRenderTime 32ms queryFilters 1ms Sphinxql 555ms GetByIds 1259ms meta 0ms repositoryFilters 5ms languageFilters 5ms sourceFilters 1ms

201,886 results for 'php md5 repo:KOLANICH/SabreDAV' (32 ms)

Source

Language

Repository

Md5Test.php https://bitbucket.org/ksekar/campus.git | PHP | 208 lines
126        $validator = new Zend_Validate_File_Md5(array('12345', '12333', '12344'));
127        $this->assertEquals(array('12345' => 'md5', '12333' => 'md5', '12344' => 'md5'), $validator->getMd5());
128    }
155        $validator->setMd5(array('12321', '12121'));
156        $this->assertEquals(array('12321' => 'md5', '12121' => 'md5'), $validator->getMd5());
157    }
170        $validator->setHash(array('12321', '12121'));
171        $this->assertEquals(array('12321' => 'md5', '12121' => 'md5'), $validator->getMd5());
172    }
185        $validator->addMd5(array('12321', '12121'));
186        $this->assertEquals(array('12345' => 'md5', '12344' => 'md5', '12321' => 'md5', '12121' => 'md5'), $validator->getMd5());
187    }
200        $validator->addHash(array('12321', '12121'));
201        $this->assertEquals(array('12345' => 'md5', '12344' => 'md5', '12321' => 'md5', '12121' => 'md5'), $validator->getMd5());
202    }
Md5Test.php https://bitbucket.org/dbaltas/zend-framework-1.x-on-git.git | PHP | 208 lines
126        $validator = new Zend_Validate_File_Md5(array('12345', '12333', '12344'));
127        $this->assertEquals(array('12345' => 'md5', '12333' => 'md5', '12344' => 'md5'), $validator->getMd5());
128    }
155        $validator->setMd5(array('12321', '12121'));
156        $this->assertEquals(array('12321' => 'md5', '12121' => 'md5'), $validator->getMd5());
157    }
170        $validator->setHash(array('12321', '12121'));
171        $this->assertEquals(array('12321' => 'md5', '12121' => 'md5'), $validator->getMd5());
172    }
185        $validator->addMd5(array('12321', '12121'));
186        $this->assertEquals(array('12345' => 'md5', '12344' => 'md5', '12321' => 'md5', '12121' => 'md5'), $validator->getMd5());
187    }
200        $validator->addHash(array('12321', '12121'));
201        $this->assertEquals(array('12345' => 'md5', '12344' => 'md5', '12321' => 'md5', '12121' => 'md5'), $validator->getMd5());
202    }
md5.inc.php https://github.com/miya5n/pukiwiki.git | PHP | 135 lines
11//	* LDAP SHA / SSHA -- If you have sha1() or mhash extension
12//	* LDAP MD5 / SMD5
13//	* LDAP CRYPT
90	if ($sha1_enabled) $form .= <<<EOD
91  <input type="radio" name="scheme" id="_p_md5_sha1" value="x-php-sha1" />
92  <label for="_p_md5_sha1">PHP sha1()</label><br />
95	$form .= <<<EOD
96  <input type="radio" name="scheme" id="_p_md5_md5"  value="x-php-md5" />
97  <label for="_p_md5_md5">PHP md5()</label><br />
109	$form .= <<<EOD
110  <input type="radio" name="scheme" id="_p_md5_lsmd5" value="SMD5" $md5_checked/>
111  <label for="_p_md5_lsmd5">LDAP SMD5 (md5 with a seed) *</label><br />
112  <input type="radio" name="scheme" id="_p_md5_lmd5" value="MD5" />
113  <label for="_p_md5_lmd5">LDAP MD5</label><br />
114
md5.html git://github.com/kvz/phpjs.git | HTML | 286 lines
30layout: function
31title: PHP's md5 in JavaScript
32description: >-
33  Here’s what our current JavaScript equivalent to <a
34  href="https://php.net/manual/en/function.md5.php">PHP's md5</a> looks like.
35function: md5
39alias:
40  - /functions/php/md5/
41  - /functions/strings/md5/
45{% codeblock lang:javascript %}module.exports = function md5 (str) {
46  //  discuss at: https://locutus.io/php/md5/
47  // original by: Webtoolkit.info (https://www.webtoolkit.info/)
61    var crypto = require('crypto')
62    var md5sum = crypto.createHash('md5')
63    md5sum.update(str)
md5.html https://github.com/andriuspetrauskis/phpjs.git | HTML | 286 lines
30layout: function
31title: PHP's md5 in JavaScript
32description: >-
33  Here’s what our current JavaScript equivalent to <a
34  href="http://php.net/manual/en/function.md5.php">PHP's md5</a> looks like.
35function: md5
39alias:
40  - /functions/php/md5/
41  - /functions/strings/md5/
45{% codeblock lang:javascript %}module.exports = function md5 (str) {
46  //  discuss at: http://locutus.io/php/md5/
47  // original by: Webtoolkit.info (http://www.webtoolkit.info/)
61    var crypto = require('crypto')
62    var md5sum = crypto.createHash('md5')
63    md5sum.update(str)
Md5Test.php http://firephp.googlecode.com/svn/trunk/ | text | 0 lines
130        $validator = new Zend_Validate_File_Md5(array('12345', '12333', '12344'));
131        $this->assertEquals(array('12345' => 'md5', '12333' => 'md5', '12344' => 'md5'), $validator->getMd5());
132    }
144        $validator = new Zend_Validate_File_Md5(array('12345', '12333', '12344'));
145        $this->assertEquals(array('12345' => 'md5', '12333' => 'md5', '12344' => 'md5'), $validator->getHash());
146    }
159        $validator->setMd5(array('12321', '12121'));
160        $this->assertEquals(array('12321' => 'md5', '12121' => 'md5'), $validator->getMd5());
161    }
189        $validator->addMd5(array('12321', '12121'));
190        $this->assertEquals(array('12345' => 'md5', '12344' => 'md5', '12321' => 'md5', '12121' => 'md5'), $validator->getMd5());
191    }
204        $validator->addHash(array('12321', '12121'));
205        $this->assertEquals(array('12345' => 'md5', '12344' => 'md5', '12321' => 'md5', '12121' => 'md5'), $validator->getMd5());
206    }
Md5Test.php http://firephp.googlecode.com/svn/trunk/ | text | 0 lines
126        $validator = new Zend_Validate_File_Md5(array('12345', '12333', '12344'));
127        $this->assertEquals(array('12345' => 'md5', '12333' => 'md5', '12344' => 'md5'), $validator->getMd5());
128    }
155        $validator->setMd5(array('12321', '12121'));
156        $this->assertEquals(array('12321' => 'md5', '12121' => 'md5'), $validator->getMd5());
157    }
170        $validator->setHash(array('12321', '12121'));
171        $this->assertEquals(array('12321' => 'md5', '12121' => 'md5'), $validator->getMd5());
172    }
185        $validator->addMd5(array('12321', '12121'));
186        $this->assertEquals(array('12345' => 'md5', '12344' => 'md5', '12321' => 'md5', '12121' => 'md5'), $validator->getMd5());
187    }
200        $validator->addHash(array('12321', '12121'));
201        $this->assertEquals(array('12345' => 'md5', '12344' => 'md5', '12321' => 'md5', '12121' => 'md5'), $validator->getMd5());
202    }
pukiwiki.ini.php https://github.com/miya5n/pukiwiki.git | PHP | 574 lines
232// Default: always fail
233$adminpass = '{x-php-md5}!';
234
236//$adminpass = 'pass'; // Cleartext
237//$adminpass = '{x-php-md5}1a1dc91c907325c69271ddf0c944bc72'; // PHP md5()  'pass'
238//$adminpass = '{CRYPT}$1$AR.Gk94x$uCe8fUUGMfxAPH83psCZG/';   // LDAP CRYPT 'pass'
239//$adminpass = '{MD5}Gh3JHJBzJcaScd3wyUS8cg==';               // LDAP MD5   'pass'
240//$adminpass = '{SMD5}o7lTdtHFJDqxFOVX09C8QnlmYmZnd2Qx';      // LDAP SMD5  'pass'
241
276	'foo'	=> 'foo_passwd', // Cleartext
277	'bar'	=> '{x-php-md5}f53ae779077e987718cc285b14dfbe86', // PHP md5() 'bar_passwd'
278	'hoge'	=> '{SMD5}OzJo/boHwM4q5R+g7LCOx2xGMkFKRVEx',      // LDAP SMD5 'hoge_passwd'
476// If you want to to ignore desktop-PC browsers for simple wikisite,
477// copy keitai.ini.php to default.ini.php and customize it.
478
pukiwiki.ini.php https://github.com/kaneko/rbwiki.git | PHP | 534 lines
192// Default: always fail
193$adminpass = '{x-php-md5}!';
194
196//$adminpass = 'pass'; // Cleartext
197//$adminpass = '{x-php-md5}1a1dc91c907325c69271ddf0c944bc72'; // PHP md5()  'pass'
198//$adminpass = '{CRYPT}$1$AR.Gk94x$uCe8fUUGMfxAPH83psCZG/';   // LDAP CRYPT 'pass'
199//$adminpass = '{MD5}Gh3JHJBzJcaScd3wyUS8cg==';               // LDAP MD5   'pass'
200//$adminpass = '{SMD5}o7lTdtHFJDqxFOVX09C8QnlmYmZnd2Qx';      // LDAP SMD5  'pass'
201
236	'foo'	=> 'foo_passwd', // Cleartext
237	'bar'	=> '{x-php-md5}f53ae779077e987718cc285b14dfbe86', // PHP md5() 'bar_passwd'
238	'hoge'	=> '{SMD5}OzJo/boHwM4q5R+g7LCOx2xGMkFKRVEx',      // LDAP SMD5 'hoge_passwd'
436// If you want to to ignore desktop-PC browsers for simple wikisite,
437// copy keitai.ini.php to default.ini.php and customize it.
438
math.php http://hppg.googlecode.com/svn/trunk/ | PHP | 167 lines
1<?php
2/**
21    /**
22     * Creates a new big number library which uses the PHP extension $lib.
23     *
34     *         if the value provided for $lib is not correct
35     * @param string $lib The PHP library to use for big number support. Default
36     *                    is null, which means the available library is autodetected.
49                    {
50                        throw new ezcBaseExtensionNotFoundException( 'gmp | bcmath', null, "PHP not compiled with --enable-bcmath or --with-gmp." );
51                    }
65                {
66                    throw new ezcBaseExtensionNotFoundException( 'gmp', null, "PHP not compiled with --with-gmp." );
67                }
88     *
89     * This is different from the hash returned by the PHP md5() function. 
90     *
math.php https://bitbucket.org/crevillo/enetcall.git | PHP | 166 lines
1<?php
2/**
21    /**
22     * Creates a new big number library which uses the PHP extension $lib.
23     *
34     *         if the value provided for $lib is not correct
35     * @param string $lib The PHP library to use for big number support. Default
36     *                    is null, which means the available library is autodetected.
49                    {
50                        throw new ezcBaseExtensionNotFoundException( 'gmp | bcmath', null, "PHP not compiled with --enable-bcmath or --with-gmp." );
51                    }
65                {
66                    throw new ezcBaseExtensionNotFoundException( 'gmp', null, "PHP not compiled with --with-gmp." );
67                }
88     *
89     * This is different from the hash returned by the PHP md5() function. 
90     *
md5.inc.php https://bitbucket.org/kumagi/fluxflex_pukiwiki | PHP | 135 lines
11//	* LDAP SHA / SSHA -- If you have sha1() or mhash extension
12//	* LDAP MD5 / SMD5
13//	* LDAP CRYPT
90	if ($sha1_enabled) $form .= <<<EOD
91  <input type="radio" name="scheme" id="_p_md5_sha1" value="x-php-sha1" />
92  <label for="_p_md5_sha1">PHP sha1()</label><br />
95	$form .= <<<EOD
96  <input type="radio" name="scheme" id="_p_md5_md5"  value="x-php-md5" />
97  <label for="_p_md5_md5">PHP md5()</label><br />
109	$form .= <<<EOD
110  <input type="radio" name="scheme" id="_p_md5_lsmd5" value="SMD5" $md5_checked/>
111  <label for="_p_md5_lsmd5">LDAP SMD5 (md5 with a seed) *</label><br />
112  <input type="radio" name="scheme" id="_p_md5_lmd5" value="MD5" />
113  <label for="_p_md5_lmd5">LDAP MD5</label><br />
114
auth.php https://bitbucket.org/kumagi/fluxflex_pukiwiki | PHP | 228 lines
1<?php
2// PukiWiki - Yet another WikiWikiWeb clone
30// $canonical : Correct or Preserve $scheme prefix
31function pkwk_hash_compute($phrase = '', $scheme = '{x-php-md5}', $prefix = TRUE, $canonical = FALSE)
32{
52	case '{x-php-crypt}' :
53		$hash = ($prefix ? ($canonical ? '{x-php-crypt}' : $scheme) : '') .
54			($salt != '' ? crypt($phrase, $salt) : crypt($phrase));
56
57	// PHP md5()
58	case '{x-php-md5}'   :
58	case '{x-php-md5}'   :
59		$hash = ($prefix ? ($canonical ? '{x-php-md5}' : $scheme) : '') .
60			md5($phrase);
195		// Basic-auth with $_SERVER['HTTP_AUTHORIZATION']
196		list($_SERVER['PHP_AUTH_USER'], $_SERVER['PHP_AUTH_PW']) =
197			explode(':', base64_decode($matches[1]));
avalaratax.php https://github.com/DaveBenNoah/PrestaShop-modules.git | PHP | 1,492 lines
1<?php
2/*
22*  @copyright  2007-2014 PrestaShop SA
23*  @license    http://opensource.org/licenses/afl-3.0.php  Academic Free License (AFL 3.0)
24*  International Registered Trademark & Property of PrestaShop SA
49		/** Backward compatibility */
50		require(_PS_MODULE_DIR_.$this->name.'/backward_compatibility/backward.php');
51		
192		return array(
193			'Tax.php' => array(
194				'source' => 'override/classes/tax/Tax.php',
194				'source' => 'override/classes/tax/Tax.php',
195				'dest' => 'override/classes/Tax.php',
196				'md5' => array(
238
239				$md5 = md5_file(_PS_ROOT_DIR_.'/'.$params['dest']);
240				$removed = false;
pukiwiki.ini.php https://bitbucket.org/kumagi/fluxflex_pukiwiki | PHP | 534 lines
192// Default: always fail
193$adminpass = '{x-php-md5}!'.md5('password');
194
196//$adminpass = 'pass'; // Cleartext
197//$adminpass = '{x-php-md5}1a1dc91c907325c69271ddf0c944bc72'; // PHP md5()  'pass'
198//$adminpass = '{CRYPT}$1$AR.Gk94x$uCe8fUUGMfxAPH83psCZG/';   // LDAP CRYPT 'pass'
199//$adminpass = '{MD5}Gh3JHJBzJcaScd3wyUS8cg==';               // LDAP MD5   'pass'
200//$adminpass = '{SMD5}o7lTdtHFJDqxFOVX09C8QnlmYmZnd2Qx';      // LDAP SMD5  'pass'
201
236	'foo'	=> 'foo_passwd', // Cleartext
237	'bar'	=> '{x-php-md5}f53ae779077e987718cc285b14dfbe86', // PHP md5() 'bar_passwd'
238	'hoge'	=> '{SMD5}OzJo/boHwM4q5R+g7LCOx2xGMkFKRVEx',      // LDAP SMD5 'hoge_passwd'
436// If you want to to ignore desktop-PC browsers for simple wikisite,
437// copy keitai.ini.php to default.ini.php and customize it.
438
backends.php https://github.com/wrobel/horde.git | PHP | 597 lines
1<?php
2/**
72 *         1) plain
73 *         2) aprmd5
74 *         3) crypt or crypt-des
75 *         4) crypt-blowfish
76 *         5) crypt-md5
77 *         6) crypt-sha256
78 *         7) crypt-sha512
79 *         8) md5-base64
80 *         9) md5-hex
91 *         passwd file, you will need to use the md5-base64 hashing method.  If
92 *         you are using a SQL database or used the PHP md5() method to create
93 *         your passwords, you will need to use the md5-hex hashing method.
502        // These parameters are directly passed to the SoapClient object, see
503        // http://ww.php.net/manual/en/soapclient.soapclient.php for a
504        // complete list of possible parameters.
backends.php https://github.com/wrobel/horde-fw3.git | PHP | 548 lines
1<?php
2/**
66 *            2) crypt or crypt-des
67 *            3) crypt-md5
68 *            4) crypt-blowfish
68 *            4) crypt-blowfish
69 *            5) md5-hex
70 *            6) md5-base64
70 *            6) md5-base64
71 *            7) smd5
72 *            8) sha
74 *
75 *            md5 passwords have caused some problems in the past because
76 *            there are different definitions of what is a "md5
450        // These parameters are directly passed to the SoapClient object, see
451        // http://ww.php.net/manual/en/soapclient.soapclient.php for a
452        // complete list of possible parameters.
backends.php.dist https://github.com/wrobel/horde-fw3.git | Unknown | 549 lines
1<?php
2/**
66 *            2) crypt or crypt-des
67 *            3) crypt-md5
68 *            4) crypt-blowfish
68 *            4) crypt-blowfish
69 *            5) md5-hex
70 *            6) md5-base64
70 *            6) md5-base64
71 *            7) smd5
72 *            8) sha
74 *
75 *            md5 passwords have caused some problems in the past because
76 *            there are different definitions of what is a "md5
450        // These parameters are directly passed to the SoapClient object, see
451        // http://ww.php.net/manual/en/soapclient.soapclient.php for a
452        // complete list of possible parameters.
avalaratax.php https://github.com/alexgodev/PrestaShop-1.4.git | PHP | 1,441 lines
1<?php
2/*
22*  @copyright  2007-2011 PrestaShop SA
23*  @license    http://opensource.org/licenses/afl-3.0.php  Academic Free License (AFL 3.0)
24*  International Registered Trademark & Property of PrestaShop SA
49		/** Backward compatibility */
50		require(_PS_MODULE_DIR_.$this->name.'/backward_compatibility/backward.php');
51	}
175		return array(
176			'Tax.php' => array(
177				'source' => 'override-14x/classes/Tax.php',
177				'source' => 'override-14x/classes/Tax.php',
178				'dest' => 'override/classes/Tax.php',
179				'md5' => array(
221
222				$md5 = md5_file(_PS_ROOT_DIR_.'/'.$params['dest']);
223				$removed = false;
Md5Test.php https://bitbucket.org/svenax/zendframework.git | PHP | 208 lines
126        $validator = new Zend_Validate_File_Md5(array('12345', '12333', '12344'));
127        $this->assertEquals(array('12345' => 'md5', '12333' => 'md5', '12344' => 'md5'), $validator->getMd5());
128    }
140        $validator = new Zend_Validate_File_Md5(array('12345', '12333', '12344'));
141        $this->assertEquals(array('12345' => 'md5', '12333' => 'md5', '12344' => 'md5'), $validator->getHash());
142    }
155        $validator->setMd5(array('12321', '12121'));
156        $this->assertEquals(array('12321' => 'md5', '12121' => 'md5'), $validator->getMd5());
157    }
185        $validator->addMd5(array('12321', '12121'));
186        $this->assertEquals(array('12345' => 'md5', '12344' => 'md5', '12321' => 'md5', '12121' => 'md5'), $validator->getMd5());
187    }
200        $validator->addHash(array('12321', '12121'));
201        $this->assertEquals(array('12345' => 'md5', '12344' => 'md5', '12321' => 'md5', '12121' => 'md5'), $validator->getMd5());
202    }
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21