[−][src]Module jsonwebtoken::crypto
Lower level functions, if you want to do something other than JWTs
Functions
| sign | Take the payload of a JWT, sign it using the algorithm given and return the base64 url safe encoded of the result. |
| verify | Compares the signature given with a re-computed signature for HMAC or using the public key for RSA/EC. |
| verify_rsa_components | Verify the signature given using the (n, e) components of a RSA public key. |