diff --git a/src/AntiCSRF.php b/src/AntiCSRF.php index 64a9308..d6afa5d 100644 --- a/src/AntiCSRF.php +++ b/src/AntiCSRF.php @@ -446,7 +446,7 @@ public function reconfigure(array $options = []): self $this->$opt = $val; break; case 'hashAlgo': - if (\in_array($val, \hash_algos(), true)) { + if (\in_array($val, \hash_hmac_algos(), true)) { $this->hashAlgo = (string) $val; } break;