/** * @see VerifyInterface::init */ public function init($algorithm, $path) { $algorithm = strtolower(preg_replace('/[^A-Za-z0-9]+/', '', $algorithm)); if (false === ($this->context = @hash_init($algorithm))) { $this->context = null; throw SignatureException::lastError(); } }