What are private and public keys?

Robinhood Learn
Democratize finance for all.
Summary:
  • Public and private keys are the foundation of public-key cryptography, used to encrypt and decrypt data on blockchain networks.
  • A public key is visible to everyone and is used to validate transactions, while a private key acts as a confidential password used to sign transactions.
  • Losing a private key means losing access to your crypto forever, making secure storage and backups essential.

Public and private keys are strings of characters used in public-key cryptography to encrypt and decrypt data, as well as to sign and verify blockchain transactions. This is why digital currencies like Bitcoin or Ether are referred to as crypto. . Having no physical form ,no central authority to verify transfers or ownership of coins, the functionality of crypto fundamentally depends on cryptography.

Two cryptographic keys form the core of this system: a public key and a private key. The public key is visible to everyone on the network and is usually the basis for generating the blockchain address. The private key, on the other hand, works somewhat like a password and should only be known to the person who owns the address.

Who holds that key depends on how you store your crypto. With a self-hosted wallet, you hold the private key. With a centralized exchange, the exchange manages it for you, and you access your funds through your account login instead.

How does symmetric cryptography compare to asymmetric cryptography?

Public-key cryptography is military-grade technology turned open source. Its distinctive feature is that it’s asymmetric, which means that instead of using a single key to encrypt and decrypt information, a set of two cryptographic keys is used: the public and the private key.

FeatureSymmetric cryptographyAsymmetric cryptography
Keys usedA single universal keyA set of two keys (public and private)
Primary functionEncrypting and decrypting dataIdentifying participants, proving ownership, encryption, and secure key exchange.
Security riskCompromised if the single key leaksIf a private key leaks, only one address is compromised

If you want to protect your data with symmetric cryptography, everyone involved has to have access to a universal key. This key allows the participants to scramble data before transmitting it, which prevents everyone else from reading it if the transmission is intercepted. The key is also used to decrypt the data upon reception. However, this system is vulnerable, because the whole process is compromised if the key leaks.

Asymmetric cryptography does not use a single key, but instead allows every participant to get their own, unique set of keys: a public key that is known to everyone and is used to identify a participant, and a corresponding private key that no one else knows. Since the keys are inherently mathematically connected, the private key enables its owner to prove that they are the legitimate person behind a public key.

On a blockchain network, transactions are made from address to address, which is to say from one owner of a public key to another owner of a public key. The only way to prove that your transaction is legitimate is to sign (that is, encrypt) it with your private key. Your public key being known, anyone can easily check if the transaction really did come from you. In an asymmetric system, if a private key is leaked, only the address it corresponds to is compromised. But losing your private key means losing your funds forever, with no option of recovery, as you would not be able to create digital signatures anymore to prove which public keys belong to you.

That's true if you hold your own key in a self-hosted wallet. If your crypto sits on a centralized exchange instead, the exchange manages your key, so losing your login isn't the same dead end — you recover account access the way you would with any other online account.

What are the advantages of public-key cryptography?

Public-key cryptography is essential for the operation of blockchain as we know it. It is used as a means of authentication, where a digital signature verifies the owner of the public address. At the same time, the signature ensures integrity and verifies the contents of the encrypted information, preventing any changes from being made to the original later on.

Since private keys are secret and known only to their owners, users of a blockchain network can rely on complete confidentiality, even though their transactions are recorded on a public ledger. While allowing users to remain pseudonymous, public-key cryptography ensures that as long as the private key is safely in its owner’s possession, they are the only one who can ever make transactions from their address.

To make use of the advantages of asymmetric cryptography, your private keys must remain secret and you should back them up, in case your wallet gets lost or breaks down. That backup responsibility falls on you if you self-custody. On a centralized exchange, the exchange secures the key itself — your job is keeping your account (password, 2FA) secure.

Disclosures:

Content provided for educational purposes only. Not investment advice or a recommendation. Trading and owning digital assets involves significant risk, including the risk of substantial loss. Cryptocurrency services are offered through an account with Robinhood Crypto, LLC (NMLS ID 1702840). Robinhood Crypto is licensed to engage in virtual currency business activity by the New York State Department of Financial Services. Cryptocurrency held through Robinhood Crypto is not FDIC insured or SIPC protected.

Ready to start investing?
Sign up for Robinhood and get stock on us.Certain limitations apply

New customers need to sign up, get approved, and link their bank account. The cash value of the stock rewards may not be withdrawn for 30 days after the reward is claimed. Stock rewards not claimed within 60 days may expire. See full terms and conditions at rbnhd.co/freestock. Securities trading is offered through Robinhood Financial LLC. Futures trading offered through Robinhood Derivatives, LLC.

5824886
PARTICIPATION IS POWER™

This information is educational, and is not an offer to sell or a solicitation of an offer to buy any security. This information is not a recommendation to buy, hold, or sell an investment or financial product, or take any action. This information is neither individualized nor a research report, and must not serve as the basis for any investment decision. All investments involve risk, including the possible loss of capital. Past performance does not guarantee future results or returns. Before making decisions with legal, tax, or accounting effects, you should consult appropriate professionals. Information is from sources deemed reliable on the date of publication, but Robinhood does not guarantee its accuracy.

Options trading entails significant risk and is not appropriate for all customers. Customers must read and understand the Characteristics and Risks of Standardized Options before engaging in any options trading strategies. Options transactions are often complex and may involve the potential of losing the entire investment in a relatively short period of time. Certain complex options strategies carry additional risk, including the potential for losses that may exceed the original investment amount.

Futures, options on futures, and cleared swaps trading is offered by Robinhood Derivatives, LLC (RHD), a registered futures commission merchant with the Commodity Futures Trading Commission (CFTC) and Member of National Futures Association (NFA). RHD is not FDIC insured or SIPC protected.

Review Robinhood Financial’s Fee Schedule to learn more regarding brokerage transactions. Review Robinhood Derivatives's Fee Schedule to learn more about commissions on futures transactions.

Brokerage services are offered through Robinhood Financial LLC, (RHF) a registered broker dealer (member SIPC) and clearing services through Robinhood Securities, LLC, (RHS) a registered broker dealer (member SIPC).

Cryptocurrency services are offered through Robinhood Crypto, LLC (RHC) (NMLS ID: 1702840). Robinhood Crypto is licensed to engage in virtual currency business activity by the New York State Department of Financial Services.

The Robinhood spending account is offered through Robinhood Money, LLC (RHY) (NMLS ID: 1990968), a licensed money transmitter. A list of our licenses has more information.

The Robinhood Cash Card is a prepaid card issued by Sutton Bank, Member FDIC, pursuant to a license from Mastercard®. Mastercard and the circles design are registered trademarks of Mastercard International Incorporated.

Funds held in your Robinhood Cash Card account at Sutton Bank are eligible for FDIC insurance up to $250,000 and will not accrue or pay any interest. The availability of FDIC insurance is contingent upon Robinhood maintaining records acceptable to the FDIC, as receiver, if Sutton Bank should fail. FDIC insurance limits apply collectively to all of your deposits held at Sutton Bank.

RHF, RHS, RHD, RHC, and RHY are affiliated entities and wholly owned subsidiaries of Robinhood Markets, Inc. RHF, RHS, RHD, RHC, and RHY are not banks. Products offered by RHF are not FDIC insured and involve risk, including possible loss of principal. RHC is not a member of FINRA and accounts are not FDIC insured or protected by SIPC.

RHY is not a member of FINRA and accounts are not FDIC insured or protected by SIPC. RHY is not a member of FINRA, and products are not subject to SIPC protection, but funds held in the Robinhood spending account and Robinhood Cash Card account may be eligible for FDIC pass-through insurance (review the Robinhood Cash Card Agreement and the Robinhood Spending Account Agreement).

4784959

Robinhood, 85 Willow Road, Menlo Park, CA 94025. © 2026 Robinhood. All rights reserved.
Follow us on

This information is educational, and is not an offer to sell or a solicitation of an offer to buy any security. This information is not a recommendation to buy, hold, or sell an investment or financial product, or take any action. This information is neither individualized nor a research report, and must not serve as the basis for any investment decision. All investments involve risk, including the possible loss of capital. Past performance does not guarantee future results or returns. Before making decisions with legal, tax, or accounting effects, you should consult appropriate professionals. Information is from sources deemed reliable on the date of publication, but Robinhood does not guarantee its accuracy.

Options trading entails significant risk and is not appropriate for all customers. Customers must read and understand the Characteristics and Risks of Standardized Options before engaging in any options trading strategies. Options transactions are often complex and may involve the potential of losing the entire investment in a relatively short period of time. Certain complex options strategies carry additional risk, including the potential for losses that may exceed the original investment amount.

Futures, options on futures, and cleared swaps trading is offered by Robinhood Derivatives, LLC (RHD), a registered futures commission merchant with the Commodity Futures Trading Commission (CFTC) and Member of National Futures Association (NFA). RHD is not FDIC insured or SIPC protected.

Review Robinhood Financial’s Fee Schedule to learn more regarding brokerage transactions. Review Robinhood Derivatives's Fee Schedule to learn more about commissions on futures transactions.

Brokerage services are offered through Robinhood Financial LLC, (RHF) a registered broker dealer (member SIPC) and clearing services through Robinhood Securities, LLC, (RHS) a registered broker dealer (member SIPC).

Cryptocurrency services are offered through Robinhood Crypto, LLC (RHC) (NMLS ID: 1702840). Robinhood Crypto is licensed to engage in virtual currency business activity by the New York State Department of Financial Services.

The Robinhood spending account is offered through Robinhood Money, LLC (RHY) (NMLS ID: 1990968), a licensed money transmitter. A list of our licenses has more information.

The Robinhood Cash Card is a prepaid card issued by Sutton Bank, Member FDIC, pursuant to a license from Mastercard®. Mastercard and the circles design are registered trademarks of Mastercard International Incorporated.

Funds held in your Robinhood Cash Card account at Sutton Bank are eligible for FDIC insurance up to $250,000 and will not accrue or pay any interest. The availability of FDIC insurance is contingent upon Robinhood maintaining records acceptable to the FDIC, as receiver, if Sutton Bank should fail. FDIC insurance limits apply collectively to all of your deposits held at Sutton Bank.

RHF, RHS, RHD, RHC, and RHY are affiliated entities and wholly owned subsidiaries of Robinhood Markets, Inc. RHF, RHS, RHD, RHC, and RHY are not banks. Products offered by RHF are not FDIC insured and involve risk, including possible loss of principal. RHC is not a member of FINRA and accounts are not FDIC insured or protected by SIPC.

RHY is not a member of FINRA and accounts are not FDIC insured or protected by SIPC. RHY is not a member of FINRA, and products are not subject to SIPC protection, but funds held in the Robinhood spending account and Robinhood Cash Card account may be eligible for FDIC pass-through insurance (review the Robinhood Cash Card Agreement and the Robinhood Spending Account Agreement).

4784959

Robinhood, 85 Willow Road, Menlo Park, CA 94025. © 2026 Robinhood. All rights reserved.