Skip to main content

Crate coldstar_signer

Crate coldstar_signer 

Source
Expand description

Coldstar Secure Signer

Memory-safe cryptographic signing with locked memory pages. Merged from the original coldstar-rs crate and devsyrem’s secure_signer.

  • AES-256-GCM symmetric encryption
  • Argon2id key derivation
  • Ed25519 signing (Solana)
  • secp256k1 ECDSA signing (Base/EVM)
  • mlock’d secure buffers with auto-zeroize on drop
  • ZK proofs: ElGamal, ownership, range, equality, validity proofs

Re-exports§

pub use crypto::decrypt_keypair;
pub use crypto::encrypt_keypair;
pub use crypto::sign_ed25519;
pub use crypto::sign_secp256k1;
pub use crypto::EncryptedContainer;
pub use crypto::create_encrypted_key_container;
pub use crypto::decrypt_and_sign;
pub use crypto::sign_transaction;
pub use crypto::EncryptedKeyContainer;
pub use crypto::SigningResult;
pub use error::SignerError;
pub use secure_buffer::LockingMode;
pub use secure_buffer::SecureBuffer;
pub use secure_buffer::SecureGuard;
pub use zk_proofs::ConfidentialTransferProofBundle;
pub use zk_proofs::ElGamalCiphertext;
pub use zk_proofs::ElGamalKeypair;
pub use zk_proofs::EqualityProof;
pub use zk_proofs::OwnershipProof;
pub use zk_proofs::PedersenCommitment;
pub use zk_proofs::RangeProof;
pub use zk_proofs::ValidityProof;

Modules§

crypto
Cryptographic operations for secure signing
error
Error types for the secure signer
prelude
Convenience prelude for common imports
secure_buffer
Secure memory buffer implementation
zk_proofs
ZK Proof Engine for Confidential Transactions

Constants§

VERSION
Library version