Skip to main content

Crate veil_crypto

Crate veil_crypto 

Source
Expand description

Veil Crypto Library

Pure Rust implementation of Veil’s cryptographic primitives for RingCT transactions. This library reimplements the Veil-specific functions from the C secp256k1 fork.

Re-exports§

pub use ecdh::ecdh_veil;
pub use ecdsa::ecdsa_sign;
pub use ecdsa::ecdsa_sign_compact;
pub use ecdsa::ecdsa_get_public_key;
pub use keyimage::get_keyimage;
pub use pedersen::pedersen_blind_sum;
pub use pedersen::pedersen_commit;
pub use borromean::borromean_hash;
pub use borromean::borromean_sign;
pub use borromean::borromean_verify;
pub use rangeproof::rangeproof_sign;
pub use rangeproof::rangeproof_verify;
pub use rangeproof::rangeproof_rewind;
pub use rangeproof::RangeProofSignResult;
pub use rangeproof::RangeProofVerifyResult;
pub use rangeproof::RangeProofRewindResult;
pub use mlsag::prepare_mlsag;
pub use mlsag::generate_mlsag;
pub use mlsag::verify_mlsag;
pub use mlsag::PrepareMlsagResult;
pub use mlsag::GenerateMlsagResult;
pub use utils::derive_pubkey;
pub use utils::point_add_scalar;
pub use utils::point_multiply;
pub use utils::private_add;

Modules§

borromean
Borromean Ring Signatures
ecdh
ECDH_VEIL - Pure Rust Implementation
ecdsa
ECDSA Signing for CT Inputs
keyimage
Key Image Generation for RingCT - Pure Rust Implementation
mlsag
MLSAG - Multilayered Linkable Spontaneous Anonymous Group Signatures - Pure Rust
pedersen
Pedersen Commitments - Pure Rust Implementation
rangeproof
Range Proofs - Pure Rust Implementation
utils
Utility Functions

Enums§

VeilCryptoError
Error types for Veil crypto operations

Type Aliases§

PublicKey
secp256k1 (K-256) public key.
Result
Result type for Veil crypto operations
SecretKey
secp256k1 (K-256) secret key.