#privacy #curve25519 #secp256k1 #cyphernet #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

#1477 in Cryptography

Download history 106/week @ 2024-07-22 102/week @ 2024-07-29 177/week @ 2024-08-05 121/week @ 2024-08-12 93/week @ 2024-08-19 163/week @ 2024-08-26 140/week @ 2024-09-02 234/week @ 2024-09-09 134/week @ 2024-09-16 151/week @ 2024-09-23 80/week @ 2024-09-30 101/week @ 2024-10-07 126/week @ 2024-10-14 97/week @ 2024-10-21 86/week @ 2024-10-28 129/week @ 2024-11-04

440 downloads per month
Used in 18 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