bsv-primitives 0.2.0

BSV Blockchain SDK - Cryptographic primitives, hashing, and utilities
Documentation
#![deny(missing_docs)]
//! BSV Blockchain SDK - Cryptographic primitives, hashing, and utilities.
//!
//! This crate provides the foundational building blocks for the BSV SDK:
//! - Hash functions (SHA-256, SHA-256d, RIPEMD-160, SHA-512, HMAC)
//! - Chain hash type for transaction and block identification
//! - Elliptic curve cryptography (secp256k1 keys, signatures, derivation)
//! - Symmetric encryption (AES-256-GCM)
//! - Variable-length integer encoding
//! - Base58 encoding/decoding

pub mod hash;
pub mod chainhash;
pub mod util;
pub mod base58;
pub mod ec;

mod error;
pub use error::PrimitivesError;