Abstract
dc:description.abstractHierarchical Deterministic Wallets (HDWs) are essential in cryptocurrency systems, enabling users to efficiently manage cryptographic keys through a single master key pair, as defined in Bitcoin Improvement Proposal 32 (BIP32). This structure simplifies key management, backup, and recovery while supporting unlimited key generation. Despite their benefits, existing HDW schemes face significant security challenges due to their reliance on single trust points. Compromising a single normal private key can expose the entire wallet hierarchy. Additionally, centralized storage of a private key creates a single point of failure, increasing vulnerability to key compromise and theft. While solutions like two-party wallets and partially distributed systems exist, they often lack scalability and full key decentralization. To address these challenges, this thesis proposes the Fully-Threshold Hierarchical Deterministic Wallet (FTHD) to enhance security and user control in HDWs. The FTHD protocol ensures that custody of a private key is distributed among multiple parties, eliminating single point of failure and enabling secure key management even in presence of some compromised parties. The scheme supports both normal and hardened key derivation, maintaining compatibility with BIP32 standards. At the core of FTHD is the use of Threshold Verifiable Random Functions (TVRFs)—an adaptation of previously proposed Verifiable Random Functions (VRFs) in elliptic curve groups—to securely generate random values for hardened key derivation. The protocol enables distributed child key derivation and transaction signing without ever reconstructing the private key on the client or server sides, thereby preserving the security of the system throughout its operations. A comprehensive security analysis demonstrates that FTHD achieves security properties of a secure HDW (unlinkability and unforgeability) under well-studied cryptographic assumptions. To validate the practicality of FTHD, we implemented the protocol and evaluated it using performance metrics such as time latency in child key derivation and signature generation, as well as scalability with respect to the number of servers. Experiments conducted with varying numbers of servers show that FTHD introduces minimal computational overhead during child key derivation while maintaining efficient key derivation and signature generation. The results confirm the feasibility of FTHD for real-world applications, making it a viable solution for secure cryptocurrency wallet management.
Degree
thesis:*- Name thesis:degree_name
- Master of Science (MSc)
- Discipline thesis:degree_discipline
- Computer Science
- Grantor
- Arts
- Year dc:date.issued
- 2025
Author and committee
dc:creator, dc:contributor.*- Author dc:creator
-
- Fahimi, Tahera
- Advisor dc:contributor.advisor
-
- Safavi-Naeini, Reyhaneh Alsadat
- Committee members dc:contributor.committeemember
-
- Elsayed, Sara
- Far, Behrouz
Subjects
dc:subject × 2Rights
dc:rights- Statement dc:rights
-
- Unless otherwise indicated, this material is protected by copyright and has been made available with authorization from the copyright owner. You may use this material in any way that is permitted by the Copyright Act or through licensing that has been assigned to the document. For uses that are not allowable under copyright legislation or licensing, you are required to seek permission.
- Language dc:language.iso
- en
Identifiers
dc:identifier.*- Dc Identifier Citation
- Fahimi, T. (2025). Fully-Threshold Hierarchical Deterministic Wallets in Bitcoin (Master's thesis, University of Calgary, Calgary, Canada). Retrieved from https://prism.ucalgary.ca.