bsv_primitives/lib.rs
1#![deny(missing_docs)]
2//! BSV Blockchain SDK - Cryptographic primitives, hashing, and utilities.
3//!
4//! This crate provides the foundational building blocks for the BSV SDK:
5//! - Hash functions (SHA-256, SHA-256d, RIPEMD-160, SHA-512, HMAC)
6//! - Chain hash type for transaction and block identification
7//! - Elliptic curve cryptography (secp256k1 keys, signatures, derivation)
8//! - Symmetric encryption (AES-256-GCM)
9//! - Variable-length integer encoding
10//! - Base58 encoding/decoding
11
12pub mod hash;
13pub mod chainhash;
14pub mod util;
15pub mod base58;
16pub mod ec;
17
18mod error;
19pub use error::PrimitivesError;