#private-key #public-key #json #secp256k1 #jwt #api

cylinder

Cylinder is a high-level cryptographic signing library

11 releases

0.3.1 Jan 5, 2024
0.3.0 Jan 25, 2023
0.2.4 Jan 7, 2022
0.2.3 Nov 29, 2021
0.2.1 Nov 16, 2020

#1013 in Cryptography

Download history 73/week @ 2023-12-23 90/week @ 2023-12-30 38/week @ 2024-01-06 20/week @ 2024-01-13 73/week @ 2024-01-20 133/week @ 2024-01-27 157/week @ 2024-02-03 152/week @ 2024-02-10 173/week @ 2024-02-17 164/week @ 2024-02-24 147/week @ 2024-03-02 163/week @ 2024-03-09 149/week @ 2024-03-16 144/week @ 2024-03-23 117/week @ 2024-03-30 43/week @ 2024-04-06

472 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

~5–16MB
~132K SLoC