Crates.io | tari_crypto |
lib.rs | tari_crypto |
version | 0.21.0 |
source | src |
created_at | 2019-03-29 13:17:20.625161 |
updated_at | 2024-10-10 13:09:07.905191 |
description | Tari Cryptography library |
homepage | https://tari.com |
repository | https://github.com/tari-project/tari |
max_upload_size | |
id | 124544 |
size | 497,669 |
This crate is part of the Tari Cryptocurrency project.
Major features of this library include:
The tari_crypto
crate makes heavy use of the excellent Dalek
libraries. The default implementation for Tari ECC is the Ristretto255 curve.
This adds in support for rangeproofs using the tari bulletproof plus library
This adds serialise and deserialize support for all structs using the serde library
This adds serialise and deserialize support for all structs using the borsh library
This uses optimised precomputed tables for calculations. While this is faster than straight-up calculations, this requires large memory to store which is not ideal for small no_std devices
TariCrypto has external WASM and FFI wrappers available here WASM: https://github.com/tari-project/tari-crypto-wasm FFI: https://github.com/tari-project/tari-crypto-ffi
To run the benchmarks:
$ cargo bench
The benchmarks use Criterion and will produce nice graphs (if you have gnuplot installed)