![]() Server : Apache System : Linux server2.corals.io 4.18.0-348.2.1.el8_5.x86_64 #1 SMP Mon Nov 15 09:17:08 EST 2021 x86_64 User : corals ( 1002) PHP Version : 7.4.33 Disable Function : exec,passthru,shell_exec,system Directory : /home/corals/mautic.corals.io/app/bundles/CoreBundle/Helper/HashHelper/ |
<?php namespace Mautic\CoreBundle\Helper\HashHelper; /** * Interface HashHelperInterface. */ interface HashHelperInterface { /** * Generate a hash value. * * @param string $algo Name of selected hashing algorithm (i.e. "md5", "sha256", "haval160,4", etc..) * @param string $data Message to be hashed * @param bool $raw_output When set to TRUE, outputs raw binary data. FALSE outputs lowercase hexits. * * @return string a string containing the calculated message digest as lowercase hexits * unless <i>raw_output</i> is set to true in which case the raw * binary representation of the message digest is returned */ public function hash($algo, $data, $raw_output = false); }