Skip to content

Commit

Permalink
Fix typo in README.md (#312)
Browse files Browse the repository at this point in the history
  • Loading branch information
KisaragiEffective authored May 19, 2023
1 parent 031d4cf commit cfd1f1c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ Encoding a JWT takes 3 parameters:
- some claims: your own struct
- a key/secret

When using HS256, HS2384 or HS512, the key is always a shared secret like in the example above. When using
When using HS256, HS384 or HS512, the key is always a shared secret like in the example above. When using
RSA/EC, the key should always be the content of the private key in the PEM or DER format.

If your key is in PEM format, it is better performance wise to generate the `EncodingKey` once in a `lazy_static` or
Expand Down

0 comments on commit cfd1f1c

Please sign in to comment.