function _cdn_get_hash_salt in CDN 6.2
Gets a salt useful for hardening.
Based on Drupal 7's drupal_get_hash_salt().
2 calls to _cdn_get_hash_salt()
- cdn_basic_farfuture_download in ./
cdn.basic.farfuture.inc - cdn_file_url_alter in ./
cdn.module - Implementation of hook_file_url_alter().
File
- ./
cdn.basic.farfuture.inc, line 501 - Far Future expiration setting for basic mode.
Code
function _cdn_get_hash_salt() {
global $db_url;
return hash('sha256', serialize($db_url));
}