10 releases

0.3.0 Jan 25, 2023
0.2.4 Jan 7, 2022
0.2.3 Nov 29, 2021
0.2.2 Jan 18, 2021
0.0.1 Aug 25, 2020

#590 in Algorithms

Download history 69/week @ 2023-08-12 196/week @ 2023-08-19 214/week @ 2023-08-26 76/week @ 2023-09-02 56/week @ 2023-09-09 44/week @ 2023-09-16 47/week @ 2023-09-23 55/week @ 2023-09-30 37/week @ 2023-10-07 61/week @ 2023-10-14 59/week @ 2023-10-21 65/week @ 2023-10-28 60/week @ 2023-11-04 80/week @ 2023-11-11 98/week @ 2023-11-18 77/week @ 2023-11-25

319 downloads per month
Used in 8 crates (7 directly)

Apache-2.0

80KB
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

~6.5MB
~75K SLoC