{"id":2910,"date":"2024-10-22T11:08:08","date_gmt":"2024-10-22T11:08:08","guid":{"rendered":"https:\/\/apex-aiexperts.com\/?p=2910"},"modified":"2024-10-22T11:08:08","modified_gmt":"2024-10-22T11:08:08","slug":"how-digital-signatures-kinda-work","status":"publish","type":"post","link":"https:\/\/apex-aiexperts.com\/ja\/how-digital-signatures-kinda-work\/","title":{"rendered":"\u30c7\u30b8\u30bf\u30eb\u7f72\u540d\u306e\u4ed5\u7d44\u307f"},"content":{"rendered":"<p class=\"wp-block-paragraph\">Before we get into the technical details of how digital signatures work, I wanted to help ease you in by sharing a funny story.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">You might think that digital signatures may sound complicated, but if you pay close attention to this story, they\u2019re really not.<\/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\">Hello! I\u2019m Batman!<\/p>\n<\/blockquote>\n\n\n\n<p class=\"wp-block-paragraph\">Imagine Batman has a box.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/bpcdn.co\/images\/2022\/03\/08144355\/box-with-lock.png\" alt=\"How digital signatures work: Box with a lock\" class=\"wp-image-220458\"\/><\/figure>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p class=\"wp-block-paragraph\">Check out my box!<\/p>\n<\/blockquote>\n\n\n\n<p class=\"wp-block-paragraph\">This box has a lock\u2026a very special kind of lock.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">This lock has THREE states:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li><strong>Locked (A):\u00a0<\/strong>When the key is turned all the way to the left, it is locked.<\/li>\n\n\n\n<li><strong>Unlocked (B):\u00a0<\/strong>When the key is in the middle, it\u2019s unlocked.<\/li>\n\n\n\n<li><strong>Locked (C):\u00a0<\/strong>When the key is turned all the way to the right, it is locked.<\/li>\n<\/ol>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/bpcdn.co\/images\/2022\/02\/22212406\/digital-signature-lock-1-780x585.png\" alt=\"Lock has 3 states\" class=\"wp-image-219679\"\/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">And the lock has TWO separate keys: a&nbsp;<strong>black key<\/strong>&nbsp;\u305d\u3057\u3066&nbsp;<strong>yellow key<\/strong>.<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>The black key can only turn\u00a0<strong>\u53f3<\/strong>, meaning it can only turn clockwise (from A to B to C)<\/li>\n\n\n\n<li>The yellow one can only turn\u00a0<strong>\u5de6<\/strong>, meaning it can only turn counter-clockwise (from C to B to A).<\/li>\n<\/ol>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/bpcdn.co\/images\/2022\/02\/22200950\/digital-signature-two-keys.png\" alt=\"Lock has two separate keys\" class=\"wp-image-219668\"\/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">This means that if the box is&nbsp;<strong>locked and the lock is turned to position A<\/strong>, only the&nbsp;<strong>black key<\/strong>&nbsp;can unlock it by turning it right, to&nbsp;<strong>position B<\/strong>&nbsp;(unlocked).<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">If the box is&nbsp;<strong>locked in position C<\/strong>, only the&nbsp;<strong>yellow key<\/strong>&nbsp;can unlock it by turning the lock left, to&nbsp;<strong>position B<\/strong>.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u3060\u304b\u3089&nbsp;<strong>either key can lock the box<\/strong>, but&nbsp;<strong>once it is locked, only the&nbsp;<em>other key<\/em>&nbsp;can unlock it<\/strong>.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Because black is his favorite color, Batman picks the black key and keeps it to himself.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Let\u2019s call this key his \u201c<strong>private<\/strong>\u201d key because now, only Batman has it.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Let\u2019s call the second key, the yellow key, his \u201c<strong>\u516c\u958b<\/strong>\u201d key:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Batman makes a million copies of it and whenever he\u2019s driving through the streets of Gotham City in his Batmobile, he tosses them out the window to pedestrians.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/bpcdn.co\/images\/2022\/03\/08143404\/toss-public-keys-batmobile.png\" alt=\"Toss Public Keys\" class=\"wp-image-220454\"\/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">There are yellow keys&nbsp;<em>everywhere<\/em>. Eventually, everyone in Gotham City has a copy of the \u201cpublic\u201d key.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">In this scenario, Batman has his private key that can turn clockwise from&nbsp;<strong>A to B to C<\/strong>.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">And everyone else has his public key that can turn counterclockwise from&nbsp;<strong>C to B to A<\/strong>.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Batman Retires!<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Let\u2019s imagine that Bruce Wayne has a change of heart and decides he wants to retire as \u201cBatman\u201d and move to Kamar-Taj in Nepal to study and become a monk under the Ancient One.<\/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\">I\u2019m tired of this rich and famous superhero life.<\/p>\n<\/blockquote>\n\n\n\n<p class=\"wp-block-paragraph\">He also decides to give all his money to Alfred, his butler.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">So he writes on a piece of paper, \u201c<strong>Give $1 trillion dollars to Alfred ASAP<\/strong>.\"<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/bpcdn.co\/images\/2022\/02\/22204429\/batman-letter.png\" alt=\"Batman's letter\" class=\"wp-image-219671\"\/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Batman puts this piece of paper in the box. Using his private key,&nbsp;<strong>he turns his private key to position C<\/strong>\u2026.locking the box.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/bpcdn.co\/images\/2022\/02\/22212406\/digital-signature-lock-1-360x270.png\" alt=\"Lock has 3 states\" class=\"wp-image-219679\"\/><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/bpcdn.co\/images\/2022\/03\/08143948\/box-locked-with-private-key.png\" alt=\"Box locked with private key (digital signature)\" class=\"wp-image-220456\"\/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Then he takes another piece of paper and writes the same message, \u201c<strong>Give $1 trillion dollars to Alfred ASAP<\/strong>.\"<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/bpcdn.co\/images\/2022\/02\/22204429\/batman-letter.png\" alt=\"Batman's letter\" class=\"wp-image-219671\"\/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">He then hands Alfred this piece of paper and instructs him:<\/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\">Give this to my banker.<\/p>\n<\/blockquote>\n\n\n\n<p class=\"wp-block-paragraph\">And then adds:<\/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\">If my banker doesn\u2019t believe you, hand him the locked box.<\/p>\n<\/blockquote>\n\n\n\n<p class=\"wp-block-paragraph\">So now there are two letters with the same message. One is locked in the&nbsp;<strong>box<\/strong>. And the other is Alfred\u2019s&nbsp;<strong>pocket<\/strong>&nbsp;which technically is publicly viewable by anyone.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Later that evening, Batman tells Robin, his sidekick, that he\u2019s retiring and giving all his money to Alfred.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Robin leaks the news to the press and the next day, it\u2019s all over the TV news channels.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/bpcdn.co\/images\/2022\/02\/22211021\/batman-news-flash.png\" alt=\"Batman News Flash!\" class=\"wp-image-219675\"\/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Batman\u2019s banker, Daime Jimon, at Gotham National Bank is finding out about the news from his television in his office. To his surprise, Alfred shows up asking for his money and hands him the piece of paper.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Daime Jimon does not believe the news and refuses.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Alfred whips out the locked box.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/bpcdn.co\/images\/2022\/02\/22211838\/alfred-with-box-360x348.png\" alt=\"Alfred whips out the box acting as digital signature\" class=\"wp-image-219677\"\/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Then drops the box on his desk.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">So now the banker has both the message and box.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><a href=\"https:\/\/bpcdn.co\/images\/2022\/03\/08144239\/message-and-public-key.png\" target=\"_blank\" rel=\"noreferrer noopener\"><img decoding=\"async\" src=\"https:\/\/bpcdn.co\/images\/2022\/03\/08144239\/message-and-public-key.png\" alt=\"Message with public key and digital signatures\" class=\"wp-image-220457\"\/><\/a><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Just like everyone else in Gotham City, Daime Jimon has a yellow key that he picked up from the street below his office.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Daime Jimon takes the \u201cpublic\u201d key out of his pocket and sees if he can unlock the box.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">He&nbsp;<strong>turns the \u201cpublic\u201d key counterclockwise to the left to position B<\/strong>&nbsp;and the box opens!<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/bpcdn.co\/images\/2022\/02\/22212406\/digital-signature-lock-1-360x270.png\" alt=\"Lock has 3 states\" class=\"wp-image-219679\"\/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Inside the box is the letter that Batman wrote. And it matches the first letter that Alfred showed him.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><a href=\"https:\/\/bpcdn.co\/images\/2022\/02\/22210238\/batman-letter-matches.png\" target=\"_blank\" rel=\"noreferrer noopener\"><img decoding=\"async\" src=\"https:\/\/bpcdn.co\/images\/2022\/02\/22210238\/batman-letter-matches-780x538.png\" alt=\"Batman letters match \" class=\"wp-image-219673\"\/><\/a><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Daime Jimon apologizes to Alfred and asks his assistant to prepare the money.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>He realizes that the only way that the box was locked was by using Batman\u2019s \u201cprivate\u201d key which only Batman is in possession of.<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">This means that nobody else could\u2019ve put the letter in the box aside from Batman and proves that letter is, in fact, from Batman!<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The use of the \u201cpair of keys\u201d is how Batman is able to prove that the message came from him, and him ONLY, without having to provide an actual physically handwritten signature.&nbsp;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">And the use of the locked box implies that the message inside was always protected and remained untouched (once the box was locked).<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">It basically answers the question, \u201cHow can you prove to me that Batman actually wrote this message without him having to be present? And that this message wasn\u2019t tampered with during transit?\u201d<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">This is a crude example of how a \u201c<strong>\u30c7\u30b8\u30bf\u30eb\u7f72\u540d&nbsp;<\/strong>works but hopefully, you\u2019re starting to get the idea.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Now let\u2019s go learn how a digital signature actually works in the crypto world!<\/p>","protected":false},"excerpt":{"rendered":"<p>Before we get into the technical details of how digital signatures work, I wanted to help ease you in by sharing a funny story. You might think that digital signatures may sound complicated, but if you pay close attention to this story, they\u2019re really not. Hello! I\u2019m Batman! Imagine Batman has a box. Check out my box! This box has a lock\u2026a very special kind of lock. This lock has THREE states: And the lock has TWO separate keys: a&nbsp;black key&nbsp;and a&nbsp;yellow key. This means that if the box is&nbsp;locked and the lock is turned to position A, only the&nbsp;black key&nbsp;can unlock it by turning it right, to&nbsp;position B&nbsp;(unlocked). If [&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,12],"tags":[],"class_list":["post-2910","post","type-post","status-publish","format-standard","hentry","category-beginners-guide-to-digital-signatures","category-learn-crypto"],"_links":{"self":[{"href":"https:\/\/apex-aiexperts.com\/ja\/wp-json\/wp\/v2\/posts\/2910","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/apex-aiexperts.com\/ja\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/apex-aiexperts.com\/ja\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/apex-aiexperts.com\/ja\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/apex-aiexperts.com\/ja\/wp-json\/wp\/v2\/comments?post=2910"}],"version-history":[{"count":1,"href":"https:\/\/apex-aiexperts.com\/ja\/wp-json\/wp\/v2\/posts\/2910\/revisions"}],"predecessor-version":[{"id":2911,"href":"https:\/\/apex-aiexperts.com\/ja\/wp-json\/wp\/v2\/posts\/2910\/revisions\/2911"}],"wp:attachment":[{"href":"https:\/\/apex-aiexperts.com\/ja\/wp-json\/wp\/v2\/media?parent=2910"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/apex-aiexperts.com\/ja\/wp-json\/wp\/v2\/categories?post=2910"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/apex-aiexperts.com\/ja\/wp-json\/wp\/v2\/tags?post=2910"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}