diff --git a/src/EasyECC.php b/src/EasyECC.php index 3bc909b..ed9f532 100644 --- a/src/EasyECC.php +++ b/src/EasyECC.php @@ -221,7 +221,7 @@ public function sign( EccFactory::getAdapter(), $privateKey, $hash, - 'sha384' + $this->hashAlgo ); $k = $kGen->generate($this->generator->getOrder());