Crypto: Mnemonic Phrases

Weilson Wonder
4 min readJan 6, 2024

--

Your wallet is your safe, and you should keep your safe safe.

Introduction

In the world of cryptocurrency, security and ease of access are paramount. One of the key tools ensuring this balance is the mnemonic phrase. Let me try to demystify the concept of mnemonic phrases, in as simple terms as I can.

What is a Mnemonic Phrase?

Imagine you have a magical diary that holds the key to a treasure chest — your cryptocurrency. But, to open this diary, you need a special password. This password, in the cryptocurrency world, is called a mnemonic phrase.

A mnemonic phrase is a series of words (typically 12 or 24) generated by a cryptocurrency wallet (such as Metamask, Phantom, just to name a few). These words are not just random; they are a unique representation of the key needed to access your cryptocurrency assets. Think of it as a more memorable form of a password, like a secret code made of simple words.

In other words, each mnemonic phrase is assigned to a crypto wallet, and each crypto wallet is assigned a mnemonic phrase. You can never change that, hence forgetting your phrase would be apocalyptic

An Illustration

Let’s illustrate with an example. Suppose you have a wallet that generates the following mnemonic phrase for you:

apple banana carrot dance elephant forest grape hotel

This whimsical list of words is actually a sophisticated form of encryption. Each word corresponds to a specific number in a predefined list known in the crypto world. When you input these words into a cryptocurrency wallet, the wallet decodes them back into the data needed to access your funds.

Why are Mnemonic Phrases Important?

  1. Recovery: If you lose access to your wallet (like forgetting a password), the mnemonic phrase is your recovery tool. By entering these words into a new wallet, you regain access to your assets.
  2. Ease of Use: Remembering a string of random numbers and letters (typical passwords) is hard. Mnemonic phrases use simple words, making them easier to remember and note down. Although this is up for debate, let’s just say it’s nicer than a random alphanumeric string.
  3. Security: While easier to remember, they are incredibly hard for others to guess due to the vast number of possible combinations. Typically the mnemonic dictionary contains about 2048 words. This means for a 12-word mnemonic phrase, the number of combinations = 2048¹².

The answer is…
340,282,366,920,938,463,463,374,607,431,768,211,456

Security of Mnemonic Phrases

While mnemonic phrases are secure, their safety largely depends on how we handle them:

  • Never Share: Treat them like the most secret password. Never share them online or with anyone. Because they cannot be changed, the only way to have a new mnemonic phrase is to create a new wallet, and transfer everything over.
  • Offline Storage: Write them down on paper or another offline medium. Storing them on a computer or phone can make them vulnerable to hacking. Of course, keep that paper safe, possible in a safe (pun intended).
  • Multiple Copies: Keep multiple copies in different secure locations in case one gets lost or damaged. Or multiple safes (ok i’ll stop here)

Conclusion

Mnemonic phrases are a cornerstone of cryptocurrency security and accessibility. They transform complex cryptographic information into something manageable and human-friendly. However, the responsibility of safeguarding these phrases lies with the owner. By understanding and correctly managing our mnemonic phrase, we can ensure the safety of our digital treasure chest. As the world of cryptocurrency continues to evolve, so do the methods of securing it, but the principle remains the same: our security is in our hands.

References

--

--

Weilson Wonder

Software Engineer for 10 years, still learning everyday!