CryptoSafeSend: Implementation and Evaluation of a Secure Transaction Mediator on Blockchain
Abstract
In decentralized finance (DeFi), accidental cryptocurrency transfers to incorrect wallet addresses are a large usability and security issue, frequently causing permanent loss of funds. We present CryptoSafeSend, a smart contract-based safety protocol for transactions featuring a cryptographically secure passcode verification scheme supporting conditional transfers. This work addresses higher-level security issues by introducing a PBKDF2-based key derivation function, which generates strong encryption keys based on Firebase’s Firebase UID. Secret passcodes are encrypted in AES-GCM functions deployed underneath the Web Crypto API, and Initialization Vector and ciphertext are Base64 encoded for off-chain reliable storage and Firebase Firestore-based messaging. The protocol prevents unauthorized exploitation by safely binding off-chain passcode transmission to a matching on-chain verification, reinforcing user trust without undermining decentralization. Testing on an Ethereum testnet confirms negligible gas overhead, immunity against double claims, and strong security guarantees, qualifying CryptoSafeSend as a valuable constituent in next-generation secure digital asset protocols.
Community
0 commentsNo discussion yet
Be the first to share a question or observation.