#keys #cryptography #duniter #dunitrust

dup-crypto

Manage cryptographic operations for DUniter Protocols and the Duniter eco-system most broadly

77 releases (breaking)

0.58.0 May 31, 2021
0.56.0 May 20, 2021
0.50.0 Mar 21, 2021
0.36.0 Dec 20, 2020
0.5.0 Nov 17, 2018

#482 in Cryptography

Download history 28/week @ 2022-06-16 31/week @ 2022-06-23 20/week @ 2022-06-30 172/week @ 2022-07-07 92/week @ 2022-07-14 245/week @ 2022-07-21 15/week @ 2022-07-28 198/week @ 2022-08-04 71/week @ 2022-08-11 72/week @ 2022-08-18 174/week @ 2022-08-25 38/week @ 2022-09-01 283/week @ 2022-09-08 19/week @ 2022-09-15 119/week @ 2022-09-22 68/week @ 2022-09-29

498 downloads per month
Used in 10 crates (3 directly)

AGPL-3.0

405KB
7.5K SLoC

DUP Crypto

crates.io docs Minimum rustc version

Manage cryptographic operations for DUniter Protocols and the Duniter eco-system most broadly.

DUP means DUniter Protocols.

(1): DUniter Blockchain Protocol
(2): DUniter Network Protocol

Features

  • Rust traits to implement to any entity that can be signed.
  • Base 16/58/64 encoding/decoding
  • Sha256 hash function
  • Secure random byte generation
  • Scrypt to generate seed from credentials.
  • Ed25519 functions to create and use ed25519 keypair.
  • DEWIF format read/write
  • Dubp-Mnemonic implementation.

Documentation

Generated documentation : https://docs.rs/dup-crypto

This documentation contains examples of code whose validity is assured (all code in the documentation is compiled on continuous integration).

Support

If this library serves you well, you can make a donation on my Ğ1 public key D9D2zaJoWYWveii1JRYLVK3J4Z7ZH3QczoKrnQeiM6mx.

Dependencies

~3.5–7.5MB
~174K SLoC