#json #jose #algorithm #encryption #web #javascript #object

jose-jwa

Pure Rust implementation of the JSON Web Algorithm (JWA) component of the Javascript Object Signing and Encryption (JOSE) specification as described in RFC7518

4 releases

0.1.2 Aug 21, 2023
0.1.1 Aug 19, 2023
0.1.0 May 21, 2023
0.0.0 Sep 5, 2022

#2751 in Cryptography

Download history 194/week @ 2024-07-21 239/week @ 2024-07-28 4214/week @ 2024-08-04 13632/week @ 2024-08-11 9475/week @ 2024-08-18 2245/week @ 2024-08-25 2824/week @ 2024-09-01 1343/week @ 2024-09-08 2465/week @ 2024-09-15 2927/week @ 2024-09-22 3418/week @ 2024-09-29 5156/week @ 2024-10-06 5192/week @ 2024-10-13 4790/week @ 2024-10-20 4737/week @ 2024-10-27 4814/week @ 2024-11-03

19,716 downloads per month
Used in 8 crates (3 directly)

Apache-2.0 OR MIT

8KB
83 lines

RustCrypto: JOSE JWA

Crate Docs Build Status Apache2/MIT licensed Rust Version Project Chat

Pure Rust implementation of the JSON Web Algorithm (JWA) component of the Javascript Object Signing and Encryption (JOSE) specification as described in RFC7518.

JWAs specify encryption and signing algorithms that can be used for values in JOSE "alg" keys. This crate provides an enum representation of the allowed algorithms.

Documentation

Minimum Supported Rust Version

This crate requires Rust 1.65 at a minimum.

We may change the MSRV in the future, but it will be accompanied by a minor version bump.

License

Licensed under either of:

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

Dependencies

~0.3–1MB
~22K SLoC