txgate-crypto 0.3.0

Cryptographic operations for TxGate - key management, signing, and verification
Documentation
# txgate-crypto

[![Crates.io](https://img.shields.io/crates/v/txgate-crypto.svg)](https://crates.io/crates/txgate-crypto)
[![Documentation](https://docs.rs/txgate-crypto/badge.svg)](https://docs.rs/txgate-crypto)
[![License](https://img.shields.io/crates/l/txgate-crypto.svg)](https://github.com/luisjpf/txgate#license)

Cryptographic operations for the [TxGate](https://crates.io/crates/txgate) transaction signing service.

## Warning

**This is an internal crate with an unstable API.**

This crate is published to crates.io only as a dependency of the `txgate` binary. The API may change without notice between versions.

**Do not depend on this crate directly.** Use the [`txgate`](https://crates.io/crates/txgate) crate instead.

## What's Inside

### Key Management
- `Secp256k1Signer` - ECDSA signing for Ethereum and Bitcoin
- `Ed25519Signer` - EdDSA signing for Solana
- Secure key generation with proper entropy

### Address Derivation
- Ethereum addresses (EIP-55 checksummed)
- Bitcoin P2WPKH addresses (bech32)
- Solana addresses (base58-encoded ed25519 public keys)

### Security Features
- All secret types implement `Zeroize` and `ZeroizeOnDrop`
- Constant-time signature verification
- Argon2id key derivation for encrypted storage
- ChaCha20-Poly1305 authenticated encryption

## License

Licensed under either of:

- Apache License, Version 2.0 ([LICENSE-APACHE]LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
- MIT license ([LICENSE-MIT]LICENSE-MIT or http://opensource.org/licenses/MIT)

at your option.