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

cyphergraphy

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

2 unstable releases

0.2.0 Feb 15, 2023
0.1.0 Jan 16, 2023

#1978 in Cryptography

Download history 42/week @ 2023-12-08 100/week @ 2023-12-15 66/week @ 2023-12-22 19/week @ 2023-12-29 120/week @ 2024-01-05 65/week @ 2024-01-12 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 149/week @ 2024-03-22

598 downloads per month
Used in 13 crates (4 directly)

Apache-2.0

40KB
701 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
~36K SLoC