#cyphernet #privacy #curve25519 #secp256k1 #ed25519 #public-key

cyphergraphy

Implementation-independent abstractions for main cryptographic algorithms (part of cyphernet suite)

3 releases (breaking)

0.3.0 May 6, 2024
0.2.0 Feb 15, 2023
0.1.0 Jan 16, 2023

#1862 in Cryptography

Download history 97/week @ 2024-10-21 86/week @ 2024-10-28 129/week @ 2024-11-04 100/week @ 2024-11-11 146/week @ 2024-11-18 137/week @ 2024-11-25 124/week @ 2024-12-02 163/week @ 2024-12-09 78/week @ 2024-12-16 25/week @ 2024-12-23 30/week @ 2024-12-30 82/week @ 2025-01-06 220/week @ 2025-01-13 113/week @ 2025-01-20 129/week @ 2025-01-27 137/week @ 2025-02-03

606 downloads per month
Used in 19 crates (4 directly)

Apache-2.0

39KB
694 lines

Cyphergraphy: Implementation-independent abstractions for main cryptographic algorithms

Build Tests Lints codecov

crates.io Docs Apache-2 licensed

Overview

Implementation-independent abstractions for main cryptographic algorithms used for end-to-end encryption and authorization:

  • Algorithms based on Edwards curves:
    • ECDH with X25519 scheme using Curve25519 keys
    • EdDSA signatures with Ed25519 sheme using Edwards25519 keys
  • Algorithms based on NSA Secp256k1 curve:
    • ECDH with normal Secp256k1 keys
    • ECDSA signatures with normal Secp256k1 keys
    • Schnorr signatures with BIP340 scheme and x-only public keys
  • Digest algorithms with a unified API
    • SHA2: SHA256 & SHA512
    • SHA3: SHA3-256 & SHA3-512
    • Blake3

The library is a part of rust cyphernet suite and used by other libraries of the suite for handling internet addresses.

Manifest

Name: cyphergraphy
Type: Library
Kind: Free software
License: Apache-2.0
Language: Rust
Compiler: 1.65
Author: Maxim Orlovsky
Maintained: Cyphernet DAO, Switzerland
Maintainers:
  Maxim Orlovsky:
    GitHub: @dr-orlovsky
    GPG: EAE730CEC0C663763F028A5860094BAF18A26EC9
    SSH: BoSGFzbyOKC7Jm28MJElFboGepihCpHop60nS8OoG/A
    EMail: dr@orlovsky.ch
  Alexis Sellier:
    GitHub: @cloudhead
    SSH: iTDjRHSIaoL8dpHbQ0mv+y0IQqPufGl2hQwk4TbXFlw

Documentation

API reference documentation for the library can be accessed at https://docs.rs/cyphergraphy/.

Licensing

The libraries are distributed on the terms of Apache 2.0 opensource license. See LICENCE file for the license details.

Dependencies

~0.5–2.3MB
~37K SLoC