Search for hash
Title | Object type | File name | Summary |
---|---|---|---|
BlockHashTestCase | class | modules/ |
Tests that block rehashing works correctly. |
BlockHashTestCase::assertWeight | function | modules/ |
Asserts that the block_test module's block has a given weight. |
BlockHashTestCase::doRehash | function | modules/ |
Performs a block rehash and checks several related assertions. |
BlockHashTestCase::getInfo | function | modules/ |
|
BlockHashTestCase::setUp | function | modules/ |
Sets up a Drupal site for running functional and integration tests. |
BlockHashTestCase::testBlockRehash | function | modules/ |
Tests that block rehashing does not write to the database too often. |
BlockTestCase::testBlockRehash | function | modules/ |
Test _block_rehash(). |
DatabaseSchema_pgsql::hashBase64 | function | includes/ |
Calculates a base-64 encoded, PostgreSQL-safe sha-256 hash per PostgreSQL documentation: 4.1. Lexical Structure. |
drupal_get_hash_salt | function | includes/ |
Gets a salt useful for hardening against SQL injection. |
drupal_hash_base64 | function | includes/ |
Calculates a base-64 encoded, URL-safe sha-256 hash. |
DRUPAL_HASH_COUNT | constant | includes/ |
The standard log2 number of iterations for password stretching. This should increase by 1 every Drupal version in order to counteract increases in the speed and power of computers available to crack the hashes. |
DRUPAL_HASH_LENGTH | constant | includes/ |
The expected (and maximum) number of characters in a hashed password. |
DRUPAL_MAX_HASH_COUNT | constant | includes/ |
The maximum allowed log2 number of iterations for password stretching. |
DRUPAL_MIN_HASH_COUNT | constant | includes/ |
The minimum allowed log2 number of iterations for password stretching. |
password-hash.sh | file | scripts/ |
#!/usr/bin/env php <?php /** * Drupal hash script - to generate a hash from a plaintext password * * Check for your PHP interpreter - on Windows you'll probably have to * replace line 1 with * #!c:/program files/php/php.exe * *… |
PasswordHashingTest | class | modules/ |
Unit tests for password hashing API. |
PasswordHashingTest::$profile | property | modules/ |
The profile to install as a basis for testing. |
PasswordHashingTest::getInfo | function | modules/ |
|
PasswordHashingTest::setUp | function | modules/ |
Sets up a Drupal site for running functional and integration tests. |
PasswordHashingTest::testLongPassword | function | modules/ |
Verifies that passwords longer than 512 bytes are not hashed. |
PasswordHashingTest::testPasswordHashing | function | modules/ |
Test password hashing. |
SessionTestCase::testHashedSessionIds | function | modules/ |
Test hashing of session ids in the database. |
SessionTestCase::testHashedSessionIdsOptOut | function | modules/ |
Test opt-out of hashing of session ids in the database. |
UserLoginTestCase::testPasswordRehashOnLogin | function | modules/ |
Test that user password is re-hashed upon login after changing $count_log2. |
user_hash_password | function | includes/ |
Hash a password using a secure hash. |
user_needs_new_hash | function | includes/ |
Check whether a user's hashed password needs to be replaced with a new hash. |
user_pass_rehash | function | modules/ |
Creates a unique hash value for use in time-dependent per-user URLs. |
_block_rehash | function | modules/ |
Updates the 'block' DB table with the blocks currently exported by modules. |
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.