dever 3 anos atrás
pai
commit
f12a19f635
1 arquivos alterados com 1 adições e 1 exclusões
  1. 1 1
      lib/Yspay.php

+ 1 - 1
lib/Yspay.php

@@ -54,7 +54,7 @@ class Yspay extends Core
 		$string .= $this->config['key'];
 
 		if ($input['signType'] == 'SHA256') {
-			$string = sha1($string);
+			$string = hash("sha256", $string);
 		} else {
 			$string = md5($string);
 		}