10 stable releases
|2.0.2+1.0.3||Jun 25, 2021|
|2.0.1+1.0.3||Mar 2, 2021|
|2.0.0+1.0.3||Jan 11, 2021|
|1.0.7||Feb 19, 2020|
|0.5.0||Mar 9, 2018|
#326 in Authentication
413 downloads per month
Paseto is everything you love about JOSE (JWT, JWE, JWS) without any of the many design deficits that plague the JOSE standards. This is directly adapted from the reference implemenation made by paragon-ie, which can be found: HERE.
NOTE: The license of the original paseto implementation is ISC which is functionally equivelant to MIT, but located: HERE
What is Paseto?
Paseto (Platform-Agnostic SEcurity TOkens) is a specification and reference implementation for secure stateless tokens. You can find a lot of info about the motivation + benefits of using paseto inside the original paseto repo: HERE.
Simply add this crate to your
[dependencies] paseto = "2.0.2+1.0.3"
examples/ directory covers the following use cases:
- Using the protocol directly to encode potentially non-json data.
- Using the public builder interface to build a JWT esque equivelant json payload with shared key encryption.
- Using the public builder interface to build a JWT esque equivelant json payload with public key signing.