Back to Course

3. Advanced Course

0% Complete
0/0 Steps
  1. 1. What is Taproot?
  2. 2. Blockchain bridges – what are they?
  3. 3. What is Ethereum Plasma?
  4. 4. What is Ethereum Casper?
  5. 5. What is Zk-SNARK and Zk-STARK? 
  6. 6. What is Selfish Mining? 
  7. 7. What is spoofing in the cryptocurrency market? 
  8. 8. Schnorr signatures - what are they? 
  9. 9. MimbleWimble - what is it? 
  10. 10. What is digital property rights in NFT?
  11. 11. What are ETFs and what role do they play in the cryptocurrency market? 
  12. 12. How to verify a cryptocurrency project – cryptocurrency tokenomics 
  13. 13. What is the 51% attack on blockchain?
  14. 14. What is DAO, and how does it work?
  15. 15. Zero-knowledge proof – a protocol that respects privacy 
  16. 16. What is EOSREX?
  17. 17. What is Proof of Elapsed Time (PoET)?
  18. 18. Mirror Protocol – what it is? 
  19. 19. What are synthetic assets? 
  20. 20. How to create your own NFT? 
  21. 21. Definition of DeFi, and what are its liquidations?
  22. 22. New identity system - Polygon ID
  23. 23. Ethereum Foundation and the Scroll protocol - what is it?
  24. 24. What is Byzantine fault tolerance in blockchain technology?
  25. 25. Scalability of blockchain technology - what is it?
  26. 26. Interchain Security - new Cosmos (ATOM) protocol
  27. 27. Coin Mixing vs. Coin Join - definition, opportunities, and threats
  28. 28. What is Ethereum Virtual Machine (EVM) and how does it work?
  29. 29. Soulbound Tokens - what are they, and how do they work?
  30. 30. Definition of LIDO - what is it?
  31. 31. What are Threshold Signatures, and how do they work?
  32. 32. Blockchain technology and cyberattacks.
  33. 33. Bitcoin script - what it is, and what you should know about it.
  34. 34. What is zkEVM, and what are its basic features?
  35. 35. Do confidential transactions on blockchain exist? What is a Confidential Transaction?
  36. 36. Algorithmic stablecoins - everything you should know about them.
  37. 37. Polygon Zk Rollups ZKP - what should you know about it?
  38. 38. What is Web3 Infura?
  39. 39. Mantle - Ethereum L2 scalability - how does it work?
  40. 40. What is the NEAR Rainbow Bridge?
  41. 41. Liquid Staking Ethereum and LSD tokens. What do you need to know about it?
  42. 42. Top 10 blockchain oracles. How do they work? How do they differ?
  43. 43. What are Web3.js and Ether.js? What are the main differences between them?
  44. 44. What is StarkWare, and recursive validity proofs
  45. 45. Quant Network: scalability of the future
  46. 46. Polygon zkEVM - everything you need to know
  47. 47. What is Optimism (OP), and how do its roll-ups work?
  48. 48. What are RPC nodes, and how do they work?
  49. 49. SEI Network: everything you need to know about the Tier 1 solution for DeFi
  50. 50. Types of Proof-of-Stake Consensus Mechanisms: DPoS, LPoS and BPoS
  51. 51. Bedrock: the epileptic curve that ensures security!
  52. 52. What is Tendermint, and how does it work?
  53. 53. Pantos: how to solve the problem of token transfer between blockchains?
  54. 54. What is asymmetric encryption?
  55. 55. Base-58 Function in Cryptocurrencies
  56. 56. What Is the Nostr Protocol and How Does It Work?
  57. 57. What Is the XDAI Bridge and How Does It Work?
  58. 58. Solidity vs. Rust: What Are the Differences Between These Programming Languages?
  59. 59. What Is a Real-Time Operating System (RTOS)?
  60. 60. What Is the Ethereum Rinkeby Testnet and How Does It Work?
  61. 61. What Is Probabilistic Encryption?
  62. 62. What is a Pinata in Web 3? We explain!
  63. 63. What Is EIP-4337? Will Ethereum Account Abstraction Change Web3 Forever?
  64. 64. What are smart contract audits? Which companies are involved?
  65. 65. How does the AirGapped wallet work?
  66. 66. What is proto-danksharding (EIP-4844) on Ethereum?
  67. 67. What is decentralised storage and how does it work?
  68. 68. How to Recover Cryptocurrencies Sent to the Wrong Address or Network: A Practical Guide
  69. 69. MPC Wallet and Multilateral Computing: Innovative Technology for Privacy and Security
  70. 70. Threshold signature in cryptography: an advanced signing technique!
  71. 71. Vanity address in cryptocurrencies: what is it and what are its characteristics?
  72. 72. Reentrancy Attack on smart contracts: a threat to blockchain security!
  73. 73. Slither: a static analyser for smart contracts!
  74. 74. Sandwich Attack at DeFi: explanation and risks!
  75. 75. Blockchain RPC for Web3: A key technology in the world of decentralized finance!
  76. 76. Re-staking: the benefits of re-posting in staking!
  77. 77. Base: Evolving cryptocurrency transactions with a tier-2 solution from Coinbase
  78. 78. IPFS: A new era of decentralized data storage
  79. 79. Typical vulnerabilities and bridge security in blockchain technology
  80. 80. JumpNet - Ethereum's new sidechain
Lesson 31 of 80
In Progress

31. What are Threshold Signatures, and how do they work?

Threshold Digital Signatures, or threshold digital signatures. They make our cryptocurrencies more secure than ever before. In today’s lesson, you’ll learn how they work.

Threshold digital signatures – what are they?

With the development of cryptocurrencies and their growing popularity, keeping your digital assets safe is even more important. Protection, keeping private keys from unauthorized access, is essential.

Threshold Signatures Scheme (TSS) is a cryptographic signature that takes security to the next level. It is gaining popularity among all sorts of cryptographic service providers. It provides a more secure flow of information and does not interfere with external parties (hackers and phishers).

How does the Threshold Signatures Scheme work? (TSS)

Before going into a detailed discussion of how threshold signatures work, we need to recall some critical concepts from the world of cryptocurrencies. We will start with the concept of public key cryptography. This is nothing more than an encryption system that uses mathematically related keys in its operation – a public key (used for encryption) and a private key (used for decryption of information). The public key can be freely shared, while the private key must be secured and kept secret. Only its owner is to have the privilege of decrypting the information.

The pair of keys discussed above are created when generating a new cryptocurrency wallet. The public key creates a wallet address for us, and the private key creates a digital signature and verifies transactions for us.

So you see that digital signatures are used to digitally verify a message, a transaction, or even a document. This is a very fundamental part of blockchain technology. The digital signature scheme itself consists of three basic steps:

  1. Generate a key – create a pair of public and private keys.
  2. Signature generation – the private key along with the transaction generates the signature.
  3. Verification – the verification algorithm checks whether the signature is valid.

Threshold signatures

They produce the same result as digital signatures. The difference is that threshold signatures in their operation will use MPC to establish an interactive multilateral protocol. All this to generate a private key and create a single digital signature. How does it work?

  1. We replace the key generation and signature with the MPC protocol.
  2. The key is generated only when “x” parties share “y” times the private key. This is done in a shared manner. As a result of such action, no smaller group has information about the key. At the same time, a public key is generated at this stage, which only shares the private key.
  3. Signature. It is created only when “x” parties agree to sign the transaction.
  4. Verification. Here, too, the algorithm uses the public key along with the transaction and verifies that the signature remains unchanged.

The entire process uses input data that is independent of the parties involved. At the end, a single private key and a single signature are created. For these two reasons, threshold signatures provide us with far more advantages than a simple digital signature.

Multi-party Computation (MPC) – definition

Threshold signatures work closely with MPC (Multi-party Computation). It is defined as a subdomain of cryptography, which focuses on the input data while ensuring that the input data remains private.

MPC takes a set of “x” pages and generates one key share on the device of each side of the process. This ensures that the entire key never exists in any system. In turn, this makes it difficult to steal such a key. In addition, the system determines a subset of “y” parties that must sign the transaction for it to be executed.

Every MPC project must meet:

  1. Correctness function – is the output of the algorithm correct?
  2. Privacy function – the input of each party must be kept confidential. No possibility of disclosing them to other parties.

As a result of using the MPC protocol, we create a single signature between multiple parties, which we use to authenticate messages and transactions. Now that you know how MPC works, you will easily understand the operation of threshold signatures.

Advantages of using threshold signatures

  1. Greater security. It is much harder for an attacker to gain access to a cryptocurrency wallet that uses threshold signatures. There is no room for a single point of failure here.
  2. Privacy. The MPC protocol, which interacts closely with signatures, does not require participants to disclose their secret participation to others. To recap – each party’s input is kept confidential.
  3. Flexibility. We can modify the set of thresholds.
  4. Efficiency and lower costs. Only one signature is generated per transaction. As a result, the threshold signature transactions themselves are completed in milliseconds. And because only one signature is verified, additional verification fees are avoided.

Alternatives

As it happens with digital signatures and cryptocurrencies – we can use alternatives. We will not specifically focus on them – this is a topic for a separate lesson. We will just tell you what the possibilities are.

  1. MultiSig. A signature scheme that requires multiple participants to authenticate a transaction. However, instead of using secret shares of a single key, it uses multiple keys that create multiple signatures. We then have the distributed nature of signature creation. Moreover, MultiSig uses an on-chain process. This means that the number of participants involved in creating the signature, is publicly visible on blockchain.
  2. Shamir, specifically Shamir Secret Sharing Scheme (SSSS). It functions very similarly to TSS. However, it features a single point of failure. SSSS uses a “Dealer” to generate the entire key. Then, in the signature phase, we have a reconstruction of the entire private key. Worst of all – in a single location. This reduces the security of the entire signature scheme.

Summary

The signature threshold scheme was actually created recently, but we can already see that it will be an important part of the transaction and blockchain itself. It will certainly have its five minutes in the future. Especially since the interest in cryptocurrencies itself is growing, and thus the focus should be on increasing security.