9 releases

0.2.4 Jan 7, 2022
0.2.3 Nov 29, 2021
0.2.2 Jan 18, 2021
0.2.1 Nov 16, 2020
0.0.1 Aug 25, 2020

#211 in Cryptography

Download history 859/week @ 2022-08-12 790/week @ 2022-08-19 828/week @ 2022-08-26 736/week @ 2022-09-02 622/week @ 2022-09-09 567/week @ 2022-09-16 501/week @ 2022-09-23 522/week @ 2022-09-30 504/week @ 2022-10-07 494/week @ 2022-10-14 493/week @ 2022-10-21 516/week @ 2022-10-28 535/week @ 2022-11-04 510/week @ 2022-11-11 512/week @ 2022-11-18 482/week @ 2022-11-25

2,114 downloads per month
Used in 7 crates (6 directly)

Apache-2.0

77KB
1.5K SLoC

Cylinder

Overview

Cylinder provides a simple and practical cryptographic signing and verification API for Rust projects. By building upon other cryptographic crates (such as secp256k1), Cylinder avoids implementing any cryptography directly.

Features include:

  • A Signer API for generating a signature by signing bytes with a private key
  • A Verifier API for verifying a signature for a given message and public key
  • A secp256k1 implementation of the Signer and Verifier APIs
  • Functions for finding and loading keys in a consistent manner
  • Support for Cylinder-compatible JSON Web Tokens (JWTs)

Using Cylinder

The following resources are available for Cylinder:

Projects using Cylinder

The following projects are currently using Cylinder:

License

Cylinder is licensed under the Apache License Version 2.0 software license.

Dependencies

~10MB
~124K SLoC