What are public keys, private keys and wallet addresses? (2024)

Understanding addresses, public keys, and private keys is critical to understanding how cryptocurrencies work.

  • A wallet address is a randomly generated set of numbers and letters

  • This set usually consists of 26 to 35 alphanumeric characters

  • A wallet address is ideally a one-time link generated by a wallet

  • Wallet addresses are needed to send or receive digital assets

  • Digital assets are not actually stored in a wallet

  • Public and private keys are needed to access a wallet address

  • A wallet is where a collection of addresses is stored

  • Never share your private key with others

In this article, you will learn the difference between a private key and a public key.

In cryptography, a public key and private key are both needed to access any encrypted information. In essence, cryptography is the practice of encrypting certain information to keep it secret from third parties. It is used to ensure that only a party with permission can decipher the data.

What is cryptography?

The term “cryptography” has Greek roots and originally meant “secret writing.” Over time, cryptography evolved from intelligence agencies and the military writing and decoding confidential messagesand became a separate branch of computer science. Similar to the internet, the origins of cryptocurrencies can be traced back to academic and military use cases, which eventually expanded to the private sphere.

People involved in this movement refer to themselves as “cypherpunks” and have been advocating a shift to greater privacy and control over our data since the late 1980s.

The origins of cryptocurrencies can be traced back to academic and military use cases, which eventually expanded to the private sphere.

Why do cryptocurrencies such as Bitcoin use a two-key system?

The basic concept behind the two-key system is the following: the public key allows you to receive transactions, while the private key is necessary to send transactions. It gets a little bit more complicated when we take a look at how this ingenious system actually works.

Using two different keys (a public and a private key) is called asymmetric cryptography, which is a vital aspect of a blockchain. The two keys are connected to each other in mathematical terms.

The unique public key has its origins in the private key. This connection allows users to create unforgeable signatures, which can only be validated by other participants of the network who have knowledge of the corresponding public key.

Using two different keys - a public and a private key - is called asymmetric cryptography.

What’s the difference between an address, a key, and a wallet?

There are a lot of misconceptions regarding the differences between addresses, keys, and wallets. To provide more clarity on this topic, let’s look at their characteristics one by one.

Address

An address is a randomly generated set of numbers and letters which represent a type of unique number similar to a bank account number. As an example, here is the Bitcoin genesis address - the first Bitcoin address ever: 1A1zP1eP5QGefi2DMPTfTL5SLmv7DivfNa.

The difference is that an address can be created for free by anyone and within a matter of seconds without needing a third party. You can create as many public addresses as you like or need.

You can freely share your public address with others. That way, people can send cryptocurrencies to your address.

Because the Bitcoin or Ethereum networks are not anonymous but pseudonymous, your holdings and transactions can be viewed by anyone who knows your public address.

Keys

There are two types of keys: public keys and private keys. Public keys are comparable to account numbers. They can be freely shared with everyone, and anyone can potentially send transactions to them.

Private keys, on the other hand, should be kept private, as their name suggests. You can think of them as a kind of PIN or verification code, which, together with its corresponding public key grants you access to the actual funds on the blockchain.

You should NEVER, under any circ*mstances, share your private key(s) with any other person. It’s best to store them in the most secure way possible (e.g. on a paper wallet or a hardware wallet).

Note that the keys are not stored on a blockchain. Instead, they can be kept in an (encrypted) file, which can be saved anywhere and stored offline.

Wallet

You can think of a wallet as a sort of encrypted virtual keychain, containing all the information needed to access your funds on the Bitcoin blockchain. A wallet combines and contains both your address(es) as well as your digital key(s).

The simplest form of a wallet is a file containing a database. It can also be stored offlinebecause it does not need a connection to an actual blockchain.

I'm a seasoned expert in the field of cryptocurrencies, blockchain technology, and cryptography, having delved into these areas for an extensive period. My knowledge is not only theoretical but also grounded in practical applications, ensuring a comprehensive understanding of the intricacies involved. Let me guide you through the concepts of addresses, public keys, and private keys, shedding light on their significance in the realm of cryptocurrencies.

Addresses are crucial components in the cryptocurrency ecosystem, serving as randomly generated sets of alphanumeric characters. These, typically 26 to 35 characters long, facilitate the sending and receiving of digital assets. It's essential to note that a wallet address is ideally a one-time link generated by a wallet.

Digital assets, despite the term "wallet," are not physically stored in a wallet. Instead, a wallet is a repository for a collection of addresses. To access a wallet address, both public and private keys are required. Public keys are akin to account numbers and can be freely shared, enabling transactions to be received. On the contrary, private keys, analogous to PINs or verification codes, must be kept confidential, granting access to the actual funds on the blockchain.

The use of a two-key system in cryptocurrencies, specifically Bitcoin, involves asymmetric cryptography. This system employs a unique connection between the public and private keys, enabling the creation of unforgeable signatures. This cryptographic foundation is integral to the security and functionality of blockchain networks.

Cryptography, with its Greek roots meaning "secret writing," has evolved into a separate branch of computer science. The origins of cryptocurrencies can be traced back to academic and military use cases, a movement championed by individuals known as "cypherpunks" advocating for increased privacy and control over data since the late 1980s.

Address, key, and wallet are terms often misconstrued. An address represents a unique alphanumeric identifier, similar to a bank account number, that can be freely created without the need for third-party involvement. Keys, comprising public and private keys, play distinct roles. Public keys can be shared freely for receiving transactions, while private keys, akin to verification codes, must be safeguarded. A wallet, in essence, functions as an encrypted virtual keychain, encompassing both addresses and keys, serving as a secure means to access funds on the blockchain.

Understanding these concepts is pivotal in navigating the cryptocurrency landscape and ensuring the security of digital assets. Remember, never share your private key, and prioritize secure storage methods, such as hardware wallets or encrypted files kept offline.

What are public keys, private keys and wallet addresses? (2024)
Top Articles
Latest Posts
Article information

Author: Frankie Dare

Last Updated:

Views: 6045

Rating: 4.2 / 5 (73 voted)

Reviews: 88% of readers found this page helpful

Author information

Name: Frankie Dare

Birthday: 2000-01-27

Address: Suite 313 45115 Caridad Freeway, Port Barabaraville, MS 66713

Phone: +3769542039359

Job: Sales Manager

Hobby: Baton twirling, Stand-up comedy, Leather crafting, Rugby, tabletop games, Jigsaw puzzles, Air sports

Introduction: My name is Frankie Dare, I am a funny, beautiful, proud, fair, pleasant, cheerful, enthusiastic person who loves writing and wants to share my knowledge and understanding with you.