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

cyphergraphy

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

3 releases (breaking)

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

#1092 in Cryptography

Download history 101/week @ 2024-01-19 50/week @ 2024-01-26 46/week @ 2024-02-02 125/week @ 2024-02-09 66/week @ 2024-02-16 69/week @ 2024-02-23 130/week @ 2024-03-01 117/week @ 2024-03-08 194/week @ 2024-03-15 157/week @ 2024-03-22 152/week @ 2024-03-29 166/week @ 2024-04-05 95/week @ 2024-04-12 96/week @ 2024-04-19 130/week @ 2024-04-26 358/week @ 2024-05-03

694 downloads per month
Used in 17 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.4MB
~38K SLoC