#blake3 #lang #hashing #sha #language

fides

Fides is a library for cryptographic primitives

16 releases (stable)

3.1.0 Jan 1, 2023
3.0.3 Dec 6, 2022
3.0.2 Nov 29, 2022
2.3.0 Apr 29, 2022
0.1.0 Sep 23, 2021

#783 in Cryptography

Download history 5/week @ 2023-08-02 11/week @ 2023-08-09 24/week @ 2023-08-16 24/week @ 2023-08-23 25/week @ 2023-08-30 32/week @ 2023-09-06 7/week @ 2023-09-13 5/week @ 2023-09-20 17/week @ 2023-09-27 32/week @ 2023-10-04 19/week @ 2023-10-11 8/week @ 2023-10-18 35/week @ 2023-10-25 12/week @ 2023-11-01 12/week @ 2023-11-08 14/week @ 2023-11-15

73 downloads per month
Used in 6 crates

MIT license

15KB
310 lines

Fides

Fides is a library for cryptographic primitives.

Author

Roy R. O. Okello

Email

Github

Twitter

Usage

Cargo.toml

[dependencies]
fides = "3.1.0"

Module.rs

use fides::{ ed25519, x25519, merkle_tree, hash::{ sha_2, sha_3 } };

API

ed25519

secret_key -> secret_key

public_key: secret_key -> public_key

sign: message, secret_key -> signature

verify: message, public_key, signature -> bool

x25519

secret_key -> secret_key

public_key: secret_key -> public_key

shared_key: public_key, secret_key -> shared_secret

merkle tree

root: hasher, leaves -> hash

hash

blake_3: input -> hash

sha_2::sha_224: input -> hash

sha_2::sha_256: input -> hash

sha_2::sha_512_224: input -> hash

sha_2::sha_512_256: input -> hash

sha_2::sha_384: input -> hash

sha_2::sha_512: input -> hash

sha_3::sha_224: input -> hash

sha_3::sha_256: input -> hash

sha_3::sha_384: input -> hash

sha_3::sha_512: input -> hash

Future

  • Random Number Generator
  • Hashing
  • Encryption
  • Public Key Exchange
  • Digital Signatures
  • Accumulation
  • Commitment Schemes
  • Zero-knowledge Proof Schemes
  • Verifiable Delay Function
  • Fully Homomorphic Encryption

License

MIT

Dependencies

~6MB
~113K SLoC