kelvinmo/simplejwt

Small error in readme

artifex-media opened this issue · 1 comments

Hi,

There seems to be a small error in the readme where you are referencing to decrypt a JWE:
$jwt = SimpleJWT\JWT::decrypt('abc.def.ghi.klm.nop', $set, 'PBES2-HS256+A128KW');

JWT::decrypt() is not a method, it should be:
JWE::decrypt()

Thank you :)

Fixed. Thank you