self::createDebugInstance(__CLASS__)->debugOutput('FILTER[' . __METHOD__ . ':' . __LINE__ . '] ext-scrypt not found or scrypt() function not found. "Hubcoin reward" feature disabled.');
}
+ // If uuid_create() is not found (ext-uuid) then some keys are a bit weaker
+ if ((extension_loaded('uuid')) && (is_callable('uuid_create'))) {
+ // Mark it as working
+ self::createDebugInstance(__CLASS__)->debugOutput('FILTER[' . __METHOD__ . ':' . __LINE__ . '] ext-uuid and a callable uuid_create() function found. UUID "entropy" available.');
+ $this->getConfigInstance()->setConfigEntry('extension_uuid_loaded', TRUE);
+ } else {
+ // Not working (not all have ext-uuid installed
+ self::createDebugInstance(__CLASS__)->debugOutput('FILTER[' . __METHOD__ . ':' . __LINE__ . '] ext-uuid not found or uuid_create() function not found. "Hubcoin reward" feature disabled.');
+ }
+
// Are all tests passed?
if ($checkPassed === FALSE) {
// Throw an exception