for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php namespace SimpleHash\Calculator;
/**
* MD5 Hash calculator class
*
* @package SimpleHash
* @author Kai Hempel <[email protected]>
* @copyright 2016 Kai Hempel <[email protected]>
* @license http://www.opensource.org/licenses/BSD-3-Clause The BSD 3-Clause License
* @link https://www.kuweh.de/
* @since Class available since Release 1.0.0
*/
class Sha1Calculator implements HashCalculatorInterface
{
* Returns the MD5 hash
* @param type $data
* @return type
public function getHash($data)
return sha1($data);
}