What is asymmetric encryption?

asymmetric encryption

If you are reading this article, you are certainly interested in the topic of cryptocurrencies such as Bitcoin (BTC) or Ethereum (ETH). In this connection, we want to ask you a question: have you ever wondered why the word “cryptocurrencies” contains the term “crypto”? Of course, it comes from another well-known word – “cryptography”. So what does cryptography and cryptocurrencies have in common? Read on to find out!

Are cryptocurrencies secure?

Cryptocurrencies operate on blockchain technology. This means that in order to make a transaction, such as sending a certain amount of money to a certain recipient, you need to register it on a publicly accessible blockchain. This transaction is authenticated by your electronic signature. This signature is a guarantee of the security of the transaction in question – it proves that the transaction was sent by a verified sender, and thus that it has not been forged. What makes it special and unique? The digital signature is created using a hash algorithm and asymmetric encryption. At this point, we move seamlessly into the concept of cryptography.

How does hashing and asymmetric encryption work?

Cryptography is a scientific discipline that explains how to transmit information while protecting it from unauthorised access. In other words, cryptography teaches how to encrypt messages. One way to encrypt information is through hashing, while another is through asymmetric encryption. In this paragraph, we will explain both of these concepts.

Let’s start with hashing using the example of the most popular cryptocurrency today, Bitcoin (BTC). Hashing involves applying an algorithm that irreversibly converts input data into unique output data. Bitcoin uses the SHA256 algorithm, which converts the input data into 256 binary digits, or combinations of zeros and ones.

The next concept we will explain is asymmetric encryption. Each cryptocurrency wallet is equipped with two keys: a public key and a private key. When you transfer funds to another user, your transaction is encrypted asymmetrically with the public key. Only the user who has the private key corresponding to the public key can decrypt it. This is what asymmetric encryption is all about. Let’s try to trace the whole process using a simple example.

Karolina would like to send 5 Bitcoins (BTC) to Paul. The message sent by Karolina contains the following information: input and output data, a link to previous transactions and an encrypted message with an electronic signature. Paul, on receiving the transaction, needs to authenticate it. He therefore performs two actions. First, he decrypts Karolina’s electronic signature using her public key. Paul possesses the first hash. Then, Paul uses a hash algorithm on the message coming from Karolina. In this way, he obtains the second hash. If the two hashes are the same, the transaction is authenticated. This way Paul knows that the 5 Bitcoins were really sent to him by Karolina and that no one interfered with the message she sent.

DisclaimerBlockbulletin does not take accountability of investments based on the information of the website. We highly advice readers to make extensive research prior to any invest

Share this post

More Guides

It seems we can't find what you're looking for.

Latest News

Bitcoin

Bitcoin soars, an aftermath of new ETF news

The price of Bitcoin has soared to new heights, reaching $35,000. This phenomenon was accompanied by the dynamic development of the Bitcoin ETF space. The iShares spot…
All articles loaded
No more articles to load

Analyses

All articles loaded
No more articles to load

Knowledge Base

What is a 51% attack?

In this article, we will explain what a 51% attack is in the context of cryptocurrency. A distributed network = a secure network? When discussing…

What are smart contracts?

Smart contracts are a type of electronic contract used not only in blockchain technology, but also in everyday life, for example by banks. What makes…

What are cryptocurrency nodes?

Most cryptocurrencies operate on the principle of distributed transaction systems, running on a P2P, or peer-to-peer, network. In practice, this means that such a network…

What are block explorers?

In this article, we discuss a free online search engine that allows you to browse the contents of a blockchain database. We also discuss transaction…

The great reset and the CBDC

The World Economic Forum (WEF), which regularly takes place in Davos, Switzerland, for pandemic reasons, has taken the form of a teleconference in January 2021.…

Security tokens and utility tokens

Cryptocurrencies and tokens are two aspects of the blockchain world, operating side by side. Both their features and uses seem to be very close to…

Proof of Work and Proof of Stake

There are several methods available in blockchain for securing networks and verifying transactions. The two most popular are consensus algorithms based on Proof of Work…
All articles loaded
No more articles to load