diff --git a/README.md b/README.md index fdfeeba..4763e35 100644 --- a/README.md +++ b/README.md @@ -26,4 +26,4 @@ By default the algorithm to encode is `HS256`. The supported algorithms for encoding and decoding are `HS256`, `HS384`, `HS512` and `RS256`. // encode using HS512 - jwt.encode(playload, secret, 'HS512') + jwt.encode(payload, secret, 'HS512')