#curve25519 #cyphernet #ed25519 #secp256k1 #privacy

cyphergraphy

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

4 releases (2 breaking)

0.3.1 Apr 3, 2026
0.3.0 May 6, 2024
0.2.0 Feb 15, 2023
0.1.0 Jan 16, 2023

#301 in Cryptography

Download history 170/week @ 2026-01-25 187/week @ 2026-02-01 358/week @ 2026-02-08 543/week @ 2026-02-15 600/week @ 2026-02-22 571/week @ 2026-03-01 1049/week @ 2026-03-08 2245/week @ 2026-03-15 1543/week @ 2026-03-22 3060/week @ 2026-03-29 986/week @ 2026-04-05 1371/week @ 2026-04-12 1222/week @ 2026-04-19 1155/week @ 2026-04-26 976/week @ 2026-05-03 989/week @ 2026-05-10

4,510 downloads per month
Used in 25 crates (4 directly)

Apache-2.0

41KB
700 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
~42K SLoC