{"id":2908,"date":"2024-10-22T11:06:53","date_gmt":"2024-10-22T11:06:53","guid":{"rendered":"https:\/\/apex-aiexperts.com\/?p=2908"},"modified":"2024-10-22T11:06:53","modified_gmt":"2024-10-22T11:06:53","slug":"what-is-asymmetric-encryption","status":"publish","type":"post","link":"https:\/\/apex-aiexperts.com\/es\/what-is-asymmetric-encryption\/","title":{"rendered":"\u00bfQu\u00e9 es el cifrado asim\u00e9trico?"},"content":{"rendered":"<p class=\"wp-block-paragraph\"><strong>Cifrado asim\u00e9trico<\/strong>&nbsp;is a type of encryption that uses&nbsp;<strong>two separate but mathematically connected \u201ckeys\u201d<\/strong>&nbsp;to encrypt and decrypt data and protect it from unauthorized access or use.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">These keys are known as:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Private key<\/li>\n\n\n\n<li>Public key<\/li>\n<\/ol>\n\n\n\n<p class=\"wp-block-paragraph\">Together, they\u2019re called a \u201c<strong>public and private key pair<\/strong>\u201d o simplemente \u201c<strong>key pair<\/strong>\u201c.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">One of the keys, the&nbsp;<strong>clave p\u00fablica<\/strong>, is available for anyone to use. The other key is known as the&nbsp;<strong>private key<\/strong>.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Data&nbsp;<em>encriptado<\/em>&nbsp;with the public key can ONLY be&nbsp;<em>decrypted<\/em>&nbsp;with the private key. This is why asymmetric encryption is also known as \u201c<strong>public-key cryptography<\/strong>\u201d.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">How Asymmetric Encryption Works<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">When first learning about asymmetric encryption, the following classic example is used:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">To send encrypted data to someone, you must&nbsp;<em>encrypt<\/em>&nbsp;the data with that person\u2019s&nbsp;<strong>clave p\u00fablica<\/strong>, and the person receiving the data&nbsp;<em>decrypts<\/em>&nbsp;it with the corresponding&nbsp;<strong>private key<\/strong>.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">All the data you send through the internet is in&nbsp;<strong>plaintext<\/strong>. This means that anyone who gets access to it can see and read it.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">If you don\u2019t want anyone to be able to read your data, what you can do is encrypt the data using the&nbsp;<strong>public key of the recipient&nbsp;<\/strong>or person you\u2019re sending the message to. (This person would send you her public key ahead of time.)<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Once the data has been converted into ciphertext, you can\u2019t decrypt it using the same key.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">En&nbsp;<strong>ciphertext<\/strong>&nbsp;can be decrypted only with the corresponding private key, which&nbsp;<strong>only the recipient has<\/strong>.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><a href=\"https:\/\/bpcdn.co\/images\/2022\/02\/23133902\/how-asymmetric-encryption-works-classic-example-2.png\" target=\"_blank\" rel=\"noreferrer noopener\"><img decoding=\"async\" src=\"https:\/\/bpcdn.co\/images\/2022\/02\/23133902\/how-asymmetric-encryption-works-classic-example-2.png\" alt=\"How Asymmetric Encryption Works \" class=\"wp-image-219717\" title=\"How Asymmetric Encryption Works \"\/><\/a><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">The illustration above shows how you can freely distribute the public key so that&nbsp;<strong>only you, as the owner of the private key,<\/strong>&nbsp;can read data that was encrypted with the public key.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Since you\u2019re encrypting the data with a public key, this is why this type of asymmetric encryption is also known as \u201c<strong>public-key encryption<\/strong>\u201c.&nbsp;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Obviously, the most popular use of asymmetric encryption is to send confidential messages.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">If I\u2019m sending a love letter to your mom over the internet and I don\u2019t want you to be able to read it, I can use asymmetric encryption.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">I would encrypt the message with your mom\u2019s public key, then send the message to her.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Being able to unscramble the text back into a readable format would require the private key, which only your mom is in possession of. So only SHE would be able to read the message (not you!) and learn about my true feelings for her.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/bpcdn.co\/images\/2022\/03\/08135001\/love-yo-mama-360x360.png\" alt=\"Love Letter to Yo Mama\" class=\"wp-image-220445\"\/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">How Asymmetric Encryption Works in Crypto<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Asymmetric encryption was first used to encrypt and decrypt messages.&nbsp; But cryptocurrencies now use this technology in a&nbsp;<strong>slightly different way<\/strong>.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">In the classic example of asymmetric encryption, I explained how you use a&nbsp;<strong>public key to encrypt data<\/strong>&nbsp;and then need the&nbsp;<strong>private key to decrypt the data<\/strong>.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">But the&nbsp;<strong>reverse<\/strong>&nbsp;also works as well!<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">You can also use a<strong><em>&nbsp;private key<\/em>&nbsp;to encrypt data<\/strong>&nbsp;and then use the&nbsp;<strong><em>clave p\u00fablica<\/em>&nbsp;to decrypt the data<\/strong>.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">And this is how asymmetric encryption is used in cryptocurrencies!<\/p>\n\n\n\n<figure class=\"wp-block-image\"><a href=\"https:\/\/bpcdn.co\/images\/2022\/02\/23141424\/how-asymmetric-encryption-works-crypto-example.png\" target=\"_blank\" rel=\"noreferrer noopener\"><img decoding=\"async\" src=\"https:\/\/bpcdn.co\/images\/2022\/02\/23141424\/how-asymmetric-encryption-works-crypto-example.png\" alt=\"How Asummetric Encryption Works in Crypto\" class=\"wp-image-219726\" title=\"How Asummetric Encryption Works in Crypto\"\/><\/a><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">In crypto, the sender uses his&nbsp;<strong>private key<\/strong>&nbsp;to encrypt a special message and the recipient uses the s<strong>ender\u2019s public key<\/strong>&nbsp;to decrypt it.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">It\u2019s the REVERSE from the classic example earlier! Instead of using the RECIPIENT\u2019S keys, it\u2019s the SENDER\u2019S keys that are being used.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">If you wanted to send confidential messages this way, it\u2019d be a bad idea since anyone with your public key, which by definition, is&nbsp;<em>p\u00fablico<\/em>, would be able to decrypt your message and read it.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">But in Bitcoin (and other cryptocurrencies),&nbsp;<strong>all transactions are made public<\/strong>&nbsp;so it doesn\u2019t need to keep the data private or confidential.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">It uses asymmetric encryption for a totally different purpose. And it\u2019s pretty clever.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">It uses asymmetric encryption for&nbsp;<strong>authentication<\/strong>\u2026.to&nbsp;<strong>prove you are who you say you are<\/strong>.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">More specifically, when you want to send some bitcoins to another person, it\u2019s used to prove that&nbsp;<strong>YOU are the actual&nbsp;<em>owner<\/em>&nbsp;of the bitcoins that you wish to send<\/strong>.<\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p class=\"wp-block-paragraph\"><strong>Authentication<\/strong>&nbsp;is the act of proving an assertion, such as the identity of a user. This is in contrast with&nbsp;<strong>identification<\/strong>, twhich is he act of indicating a person\u2019s iidentity. Authentication is the process of&nbsp;<strong>verifying that identity<\/strong>.<\/p>\n<\/blockquote>\n\n\n\n<p class=\"wp-block-paragraph\">If you encrypt (\u201clock\u201d) something with your private key, anyone can decrypt it (\u201cunlock\u201d) with your public key.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">This serves as proof that you are the original sender of the message because you are the ONLY one who would be able to&nbsp;<em>encrypt<\/em>&nbsp;the message (because you have the corresponding private key).<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">And since now that your&nbsp;<strong>identity<\/strong>&nbsp;(as the true owner of the bitcoins you wish to send) has been&nbsp;<strong>authenticated<\/strong>, you are now&nbsp;<strong>authorized<\/strong>&nbsp;to send the bitcoins.<\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p class=\"wp-block-paragraph\"><strong>Identification<\/strong>&nbsp;means claiming to&nbsp;<em>be<\/em>&nbsp;someone.&nbsp;<strong>Authentication<\/strong>&nbsp;means proving that you really are who you claimed to be.&nbsp;<strong>Authorization<\/strong>&nbsp;means getting access to something due to the previously authenticated identity.<\/p>\n<\/blockquote>\n\n\n\n<p class=\"wp-block-paragraph\">Now that we\u2019ve learned what asymmetric encryption is, and how it works, let\u2019s now put it all together and see how it\u2019s used in digital signatures.<\/p>","protected":false},"excerpt":{"rendered":"<p>Asymmetric encryption&nbsp;is a type of encryption that uses&nbsp;two separate but mathematically connected \u201ckeys\u201d&nbsp;to encrypt and decrypt data and protect it from unauthorized access or use. These keys are known as: Together, they\u2019re called a \u201cpublic and private key pair\u201d or just \u201ckey pair\u201c. One of the keys, the&nbsp;public key, is available for anyone to use. [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[33],"tags":[],"class_list":["post-2908","post","type-post","status-publish","format-standard","hentry","category-beginners-guide-to-digital-signatures"],"_links":{"self":[{"href":"https:\/\/apex-aiexperts.com\/es\/wp-json\/wp\/v2\/posts\/2908","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/apex-aiexperts.com\/es\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/apex-aiexperts.com\/es\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/apex-aiexperts.com\/es\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/apex-aiexperts.com\/es\/wp-json\/wp\/v2\/comments?post=2908"}],"version-history":[{"count":1,"href":"https:\/\/apex-aiexperts.com\/es\/wp-json\/wp\/v2\/posts\/2908\/revisions"}],"predecessor-version":[{"id":2909,"href":"https:\/\/apex-aiexperts.com\/es\/wp-json\/wp\/v2\/posts\/2908\/revisions\/2909"}],"wp:attachment":[{"href":"https:\/\/apex-aiexperts.com\/es\/wp-json\/wp\/v2\/media?parent=2908"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/apex-aiexperts.com\/es\/wp-json\/wp\/v2\/categories?post=2908"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/apex-aiexperts.com\/es\/wp-json\/wp\/v2\/tags?post=2908"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}