From e4ba5d10dd61261b2a72cfb44272877fb98e38de Mon Sep 17 00:00:00 2001 From: Dominique Fournier Date: Thu, 5 Dec 2019 10:04:52 +0000 Subject: [PATCH] jwt : typo on default value HS255 -> HS256 git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@5792 bf3deb0d-5f1a-0410-827f-c0cc1f45334c --- jwt.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jwt.php b/jwt.php index 0b47c37..cd0cafc 100644 --- a/jwt.php +++ b/jwt.php @@ -30,7 +30,7 @@ class jwt * length) * @return string The Token */ - public function encode ($payload, $key, $alg = "HS255", $ckey = null) + public function encode ($payload, $key, $alg = "HS256", $ckey = null) // {{{ { if (! key_exists ($alg, $this->supportedAlgs))