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))