Spamworldpro Mini Shell
Spamworldpro


Server : Apache
System : Linux indy02.toastserver.com 3.10.0-962.3.2.lve1.5.85.el7.x86_64 #1 SMP Thu Apr 18 15:18:36 UTC 2024 x86_64
User : palandch ( 1163)
PHP Version : 7.1.33
Disable Function : NONE
Directory :  /home/palandch/www/core/model/modx/hashing/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /home/palandch/www/core/model/modx/hashing/modmd5.class.php
<?php
/**
 * This file contains an MD5 modHash implementation.
 * @package modx
 * @subpackage hashing
 */

/**
 * An MD5 implementation of modHash.
 *
 * {@inheritdoc}
 *
 * @package modx
 * @subpackage hashing
 */
class modMD5 extends modHash {
    /**
     * Generate a md5 hash of the given string using the provided options.
     *
     * @param string $string A string to generate a secure hash from.
     * @param array $options Ignored. An array of options to be passed to the hash implementation.
     * @return mixed The hash result or false on failure.
     */
    public function hash($string, array $options = array()) {
        return md5($string);
    }
}

Spamworldpro Mini