Home
last modified time | relevance | path

Searched full:hash (Results 1 – 25 of 1013) sorted by relevance

12345678910>>...41

/plugin/scrape/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/
DInterchangeBuilder.php77 * Builds an interchange object based on a hash.
79 * @param HTMLPurifier_StringHash $hash source data
82 public function build($interchange, $hash) argument
84 if (!$hash instanceof HTMLPurifier_StringHash) {
85 $hash = new HTMLPurifier_StringHash($hash);
87 if (!isset($hash['ID'])) {
88 throw new HTMLPurifier_ConfigSchema_Exception('Hash does not have any ID');
90 if (strpos($hash['ID'], '.') === false) {
91 if (count($hash) == 2 && isset($hash['DESCRIPTION'])) {
92 $hash->offsetGet('DESCRIPTION'); // prevent complaining
[all …]
/plugin/combo/vendor/antlr/antlr4-php-runtime/src/Utils/
H A DSet.php44 $hash = $this->equivalence->hash($value);
46 if (!isset($this->table[$hash])) {
50 foreach ($this->table[$hash] as $entry) {
61 $hash = $this->equivalence->hash($value);
63 if (!isset($this->table[$hash])) {
64 $this->table[$hash] = [];
67 foreach ($this->table[$hash] as $index => $entry) {
73 $this->table[$hash][] = $value;
82 $hash = $this->equivalence->hash($value);
84 if (!isset($this->table[$hash])) {
[all …]
H A DMap.php35 $hash = $this->equivalence->hash($key);
37 if (!isset($this->table[$hash])) {
41 foreach ($this->table[$hash] as [$entryKey]) {
55 $hash = $this->equivalence->hash($key);
57 if (!isset($this->table[$hash])) {
61 foreach ($this->table[$hash] as [$entryKey, $entryValue]) {
75 $hash = $this->equivalence->hash($key);
77 if (!isset($this->table[$hash])) {
78 $this->table[$hash] = [];
81 foreach ($this->table[$hash] as $index => [$entryKey]) {
[all …]
/plugin/gtime/gtlib/tsp/
DGTDataHash.php25 * Data hash object used as seed when creating and verifying timestamps.
27 * To calculate the hash sum of some data, first create a data hash object and then
29 * fed to the hash calculator. You can then retrieve the resulting hash value using
30 * getHashedMessage() method but this closes the hash object and you can't add more
33 * Example 1 - new hash:
38 * $hash = new GTDataHash(GTHashAlgorithm::getByName('DEFAULT'));
39 * $hash->update(array(0, 1, 2));
40 * $hash->updateFile('data.txt');
42 * $hash->close();
44 * print_r($hash->getHashedMessage());
[all …]
DGTHashAlgorithm.php25 * Hash algorithm object used to calculate data hashes.
42 * To create a hash algorithm object, use one of these methods
68 * @param int $length message digest (hash value) length
80 * Returns the name of this hash algorithm.
84 * @return string hash algorithm name
91 * Returns the ASN.1 object identifier (OID) of this hash algorithm.
93 * @return string hash algorithm OID
100 * Returns the GuardTime identifier (GTID) of this hash algorithm.
102 * @return int hash algorithm GTID.
109 * Returns the length (in bytes) of message digest (hash value) produced by this hash algorithm.
[all …]
DGTHashChain.php25 * Hash chain object used to link timestamps to publication.
27 * Hash chain is a sequence of entries (links), each containing
29 * <li> hash algorithm identifier;
30 * <li> a sibling hash value;
35 * Hash chain entries are presented as GTHashEntry objects.
47 * @param array $bytes hash chain bytes
77 throw new GTException("invalid hash step direction: {$direction}");
91 throw new GTException("invalid hash step level: {$level}");
101 * Computes the result of passing the given bytes through this hash chain.
105 * @return array chain output, the final hash value
[all …]
DGTHashEntry.php53 * Computes the output of this hash entry with given bytes.
60 $hash = new GTDataHash($this->hashAlgorithm);
62 $hash->update($bytes);
63 $hash->close();
65 $imprint1 = $hash->getDataImprint();
99 * Gets the direction of this hash entry.
101 * @return int direction of this hash entry
108 * Gets the level of this hash entry.
110 * @return int level of this hash entry
/plugin/photogallery/lightGallery/js/
Dlg-hash.js1 /*! lg-hash - v1.0.0 - 2016-09-20
26 hash: true property
29 var Hash = function(element) { class
35 if (this.core.s.hash) {
36 this.oldHash = window.location.hash;
43 Hash.prototype.init = function() { class
47 // Change hash value on after each slide transition
49 window.location.hash = 'lg=' + _this.core.s.galleryId + '&slide=' + index;
52 // Listen hash change and change the slide according to slide value
53 $(window).on('hashchange.lg.hash', function() {
[all …]
Dlg-hash.min.js1 /*! lg-hash - v1.0.0 - 2016-09-20
4hash:!0},f=function(c){return this.core=a(c).data("lightGallery"),this.core.s=a.extend({},e,this.c… property
/plugin/odtsupport/
Dsyntax.php53 $this->Lexer->addSpecialPattern('{{hash>[-.:\d\w]+?}}', $mode, 'plugin_odtsupport');
82 $hash = hash(hash_hmac_algos()[0], $pageid);
87 case "hash":
89 $hash = hash(hash_hmac_algos()[0], $string);
93 $hash = hash(hash_hmac_algos()[0], $string);
94 $hash = substr($hash,0,4);
97 $hash = substr($hash,0,4);
103 $params = str_replace("<PAGEHASH>",$hash,$params); // replace "<PAGEHASH>" keyword by hash
104 $hash = substr($hash,0,4);
105 $params = str_replace("<PAGEHASH4>",$hash,$params); // replace "<PAGEHASH4>" keyword by hash
[all …]
/plugin/botmon/
H A Dcaptcha.js62 /* creates a digest hash */
65 /* simple SHA hash function - adapted from https://geraintluff.github.io/sha256/ */
66 hash: function(ascii) { method
69 const sha256 = $BMCaptcha.digest.hash;
86 …// Initial hash value: first 32 bits of the fractional parts of the square roots of the first 8 pr…
88 var hash = sha256.h = sha256.h || [];
93 var hash = [], k = [];
103 hash[primeCounter] = (mathPow(candidate, .5)*maxWord)|0;
121 var oldHash = hash;
122 // This is now the undefinedworking hash", often labelled as variables a...g
[all …]
/plugin/authdrupal8/
Dpassword.inc75 * Generates a random base 64-encoded salt prefixed with settings for the hash.
97 // 6 bytes is the standard salt for a portable phpass hash.
123 * Hash a password using a secure stretched hash.
127 * for an attacker to try to break the hash by brute-force computation of the
131 * The string name of a hashing algorithm usable by hash(), like 'sha256'.
133 * Plain-text password up to 512 bytes (128 to 512 UTF-8 characters) to hash.
135 * An existing hash or the output of _password_generate_salt(). Must be
143 // Prevent DoS attacks by refusing to hash large passwords.
155 // The first 12 characters of an existing hash are its setting string.
172 // We rely on the hash() function being available in PHP 5.2+.
[all …]
/plugin/authgooglesheets/vendor/phpseclib/phpseclib/phpseclib/Crypt/
DHash.php4 * Wrapper around hash() and hash_hmac() functions supporting truncated hashes
5 * such as sha256-96. Any hash algorithm returned by hash_algos() (and
8 * If {@link self::setKey() setKey()} is called, {@link self::hash() hash()} will
9 * return the HMAC as opposed to the hash.
16 * $hash = new \phpseclib3\Crypt\Hash('sha512');
18 * $hash->setKey('abcdefg');
20 * echo base64_encode($hash->hash('abcdefg'));
25 * @package Hash
43 * @package Hash
48 class Hash class
[all …]
/plugin/asciidocjs/node_modules/lodash/
D_Hash.js8 * Creates a hash object.
14 function Hash(entries) { class
25 // Add methods to `Hash`.
26 Hash.prototype.clear = hashClear;
27 Hash.prototype['delete'] = hashDelete;
28 Hash.prototype.get = hashGet;
29 Hash.prototype.has = hashHas;
30 Hash.prototype.set = hashSet;
32 module.exports = Hash;
/plugin/sequencediagram/bower_components/lodash/lib/common/
Dutil.js8 * Creates a hash object. If a `properties` object is provided, its own
9 * enumerable properties are assigned to the created hash.
12 * @param {Object} [properties] The properties to assign to the hash.
13 * @returns {Object} Returns the new hash object.
15 function Hash(properties) { class
17 result[key] = (_.isPlainObject(value) && !(value instanceof Hash))
18 ? new Hash(value)
23 Hash.prototype = Object.create(null);
38 Hash, property
/plugin/projects/pchart/pchart/
Dpcache.php61 function IsInCache($ID,$Data,$Hash="") argument
63 if ( $Hash == "" )
64 $Hash = $this->GetHash($ID,$Data);
66 if ( file_exists($this->CacheFolder.$Hash) )
75 $Hash = $this->GetHash($ID,$Data);
76 $FileName = $this->CacheFolder.$Hash;
84 $Hash = $this->GetHash($ID,$Data);
85 $FileName = $this->CacheFolder.$Hash;
94 $Hash = $this->GetHash($ID,$Data);
95 if ( $this->IsInCache("","",$Hash ) )
[all …]
/plugin/charter/lib/pchart/
DpCache.class.php61 function IsInCache($ID,$Data,$Hash="") argument
63 if ( $Hash == "" )
64 $Hash = $this->GetHash($ID,$Data);
66 if ( file_exists($this->CacheFolder.$Hash) )
75 $Hash = $this->GetHash($ID,$Data);
76 $FileName = $this->CacheFolder.$Hash;
84 $Hash = $this->GetHash($ID,$Data);
85 $FileName = $this->CacheFolder.$Hash;
94 $Hash = $this->GetHash($ID,$Data);
95 if ( $this->IsInCache("","",$Hash ) )
[all …]
/plugin/geophp/vendor/funiq/geophp/src/Adapter/
DGeoHash.php27 * array of neighbouring hash character maps.
53 * array of bordering hash character maps.
81 * @param string $hash a GeoHash
82 * @param boolean $asGrid Return the center point of hash grid or the grid cell as Polygon
86 public function read($hash, $asGrid = false) argument
88 $decodedHash = $this->decode($hash);
125 // The GeoHash is the smallest hash grid ID that fits the envelope
135 foreach ($geoHashes as $hash) {
136 if ($hash[$i] != $char) {
166 $hash = '';
[all …]
/plugin/encryptedpasswords/script/
DSubtleAES.js20 const {hash, iv} = await this.derivePkdf2(password, salt, 'SHA-256', this.iterations);
23 const key = await crypto.subtle.importKey('raw', hash, alg, false, ['encrypt']);
41 let hash, iv;
43 ({hash, iv} = this.deriveMd5(password, salt));
45 ({hash, iv} = await this.derivePkdf2(password, salt, 'SHA-256', this.iterations));
49 const key = await crypto.subtle.importKey('raw', hash, alg, false, ['decrypt']);
126 * @param {string} hash The Hash model, e.g. ["SHA-256" | "SHA-512"]
128 * @return {Promise<{hash: Uint8Array, iv: Uint8Array}>}
131 async derivePkdf2(strPassword, salt, hash, iterations) { argument
138 hash: hash, property
[all …]
/plugin/statdisplay/pchart/
DpCache.php50 public function IsInCache($ID, $Data, $Hash = "") { argument
51 if ($Hash == "")
52 $Hash = $this->GetHash ( $ID, $Data );
54 if (file_exists ( $this->CacheFolder . $Hash ))
64 $Hash = $this->GetHash ( $ID, $Data );
65 $FileName = $this->CacheFolder . $Hash;
74 $Hash = $this->GetHash ( $ID, $Data );
75 $FileName = $this->CacheFolder . $Hash;
90 $Hash = $this->GetHash ( $ID, $Data );
91 if ($this->IsInCache ( "", "", $Hash )) {
[all …]
/plugin/asciidocjs/node_modules/handlebars/lib/handlebars/compiler/
Dprinter.js94 if (partial.hash) {
95 content += ' ' + this.accept(partial.hash);
104 if (partial.hash) {
105 content += ' ' + this.accept(partial.hash);
127 hash;
135 hash = sexpr.hash ? ' ' + this.accept(sexpr.hash) : '';
137 return this.accept(sexpr.path) + ' ' + params + hash;
165 PrintVisitor.prototype.Hash = function(hash) { method in PrintVisitor
166 let pairs = hash.pairs,
173 return 'HASH{' + joinedPairs.join(', ') + '}';
/plugin/asciidocjs/node_modules/require-directory/
DREADME.markdown3 …er specified directory, `require()`'ing each file, and returning a nested hash structure containin…
21 A common pattern in node.js is to include an index file which creates a hash of the files in its cu…
32 `routes/index.js` uses `require-directory` to build the hash (rather than doing so manually) like s…
39 `app.js` references `routes/index.js` like any other module, but it now has a hash/tree of the expo…
85 You can pass an options hash to `require-directory` as the 2nd parameter (or 3rd if you're passing …
94 hash = requireDirectory(module, {include: whitelist});
106 hash = requireDirectory(module, {include: check});
116 hash = requireDirectory(module, {exclude: blacklist});
128 hash = requireDirectory(module, {exclude: check});
140 hash = requireDirectory(module, {visit: visitor});
[all …]
/plugin/asciidocjs/node_modules/handlebars/dist/amd/handlebars/compiler/
Dprinter.js100 if (partial.hash) {
101 content += ' ' + this.accept(partial.hash);
110 if (partial.hash) {
111 content += ' ' + this.accept(partial.hash);
133 hash = undefined;
141 hash = sexpr.hash ? ' ' + this.accept(sexpr.hash) : '';
143 return this.accept(sexpr.path) + ' ' + params + hash;
171 PrintVisitor.prototype.Hash = function (hash) { method in PrintVisitor
172 var pairs = hash.pairs,
179 return 'HASH{' + joinedPairs.join(', ') + '}';
/plugin/asciidocjs/node_modules/handlebars/dist/cjs/handlebars/compiler/
Dprinter.js101 if (partial.hash) {
102 content += ' ' + this.accept(partial.hash);
111 if (partial.hash) {
112 content += ' ' + this.accept(partial.hash);
134 hash = undefined;
142 hash = sexpr.hash ? ' ' + this.accept(sexpr.hash) : '';
144 return this.accept(sexpr.path) + ' ' + params + hash;
172 PrintVisitor.prototype.Hash = function (hash) { method in PrintVisitor
173 var pairs = hash.pairs,
180 return 'HASH{' + joinedPairs.join(', ') + '}';
/plugin/authgooglesheets/vendor/phpseclib/phpseclib/phpseclib/Crypt/Common/Formats/Keys/
DPuTTY.php24 use phpseclib3\Crypt\Hash; alias
255 $hash = new Hash('sha256');
256 $hash->setKey($hashkey);
259 $hash = new Hash('sha1');
260 $hash->setKey(sha1($hashkey, true));
278 if (!hash_equals($hash->hash($source), $hmac)) {
320 $hash = new Hash('sha256');
321 $hash->setKey('');
324 $hash = new Hash('sha1');
325 $hash->setKey(sha1('putty-private-key-file-mac-key', true));
[all …]

12345678910>>...41