<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Sreevatsa on Medium]]></title>
        <description><![CDATA[Stories by Sreevatsa on Medium]]></description>
        <link>https://medium.com/@sreevatsa96?source=rss-8eea9fba6fd5------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*SkjJODh_vIbzzAup.jpg</url>
            <title>Stories by Sreevatsa on Medium</title>
            <link>https://medium.com/@sreevatsa96?source=rss-8eea9fba6fd5------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 17 Nov 2026 18:48:13 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@sreevatsa96/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[The Magic Ingredient — Data]]></title>
            <link>https://medium.com/@sreevatsa96/the-magic-ingredient-data-33ea92e45ebb?source=rss-8eea9fba6fd5------2</link>
            <guid isPermaLink="false">https://medium.com/p/33ea92e45ebb</guid>
            <category><![CDATA[data]]></category>
            <category><![CDATA[analytics]]></category>
            <category><![CDATA[technology]]></category>
            <category><![CDATA[data-science]]></category>
            <category><![CDATA[education]]></category>
            <dc:creator><![CDATA[Sreevatsa]]></dc:creator>
            <pubDate>Wed, 12 Aug 2020 19:05:10 GMT</pubDate>
            <atom:updated>2020-08-12T19:05:10.579Z</atom:updated>
            <content:encoded><![CDATA[<h3>The Magic Ingredient — Data</h3><p>In the present day, it would not be a surprise to compare companies like Google and Facebook as magicians. Can you guess their magic ingredient?</p><p>You guessed it right …….. Data……….Loads and loads of data.</p><p>You might be wondering what this big fuss about data is? How could it possibly help? Well, I will try to demystify it and help you understand why data is the basic building block of technology.</p><p>When you think of magic, the most common trick that comes to our mind is the card trick where the magician guesses what card you chose. In a similar context, I will tell you how data is useful for predicting something unknown. If you want to get fancier, you can call it predictive analytics.</p><p>Let’s play a game.</p><h3>The Game</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/763/1*UNVKRiuVDAK1YR6l1mWqAw.png" /></figure><p>You have three doors in front of you. What if I tell you that I have a Lamborghini hidden behind one of them, but the other two doors are empty. Now, it’s your turn to take a guess on which door to choose.</p><p>Suppose you choose door A. I already know which doors are empty and which one contains the Lamborghini. Being your friend, I will open a door from the other two doors, which is empty. For argument’s sake, let’s say I open door B and show you its empty.</p><p>Now, I ask you a simple question. Do you want to switch from your initial choice?</p><p>If your gut told you that it doesn’t matter whether you switch or not, as there are only two doors left and you would have a 50% chance either way, then you are among the majority. This problem is known as the <strong>Monty Hall problem</strong>. This paradox of whether to switch or not switch has even troubled many Ph.D. holders.</p><p>My whole intent of choosing this problem is because you can arrive at a proper conclusion on whether to switch by applying Bayes theorem. You would have studied Bayes theorem in your 10th or 12th. If you want to refresh your understanding of Bayes theorem, you can read about it here before moving ahead.</p><h3>Answer Revealed</h3><p>Let us examine the choices you have in detail. You initially chose door A. Now, you know that door B is empty. ( Thanks to me 😊 ). You have to decide to stay with door A or switch to door C.</p><p>Let’s apply Bayes theorem in the context of this problem.</p><p>Note that P( door = A ) means that Lamborghini is behind door A and similarly to door B and door C.</p><p>The probabilities that you need to calculate based on the choices you have are :</p><p>P( door = A | opens = B ), the probability of Lamborghini being behind door A after you know door B is empty — The case of not switching</p><p>P( door = C | opens = B ), the probability of Lamborghini being behind door C after you know door B is empty — The case of switching</p><p>Initially, the probability of any door being correct before you have made your first choice is 1/3. It means P( door = A ) = P( door = B ) = P(door = C ) = 1/3 .</p><p>If the car is actually behind door A, then I can open door B or door C. So, the probability of opening either is 50%.</p><p>This means, P ( opens = B | door = A ) = 1/2 .</p><p>If the car is actually behind door C, then I can only open door B. I cannot open A, the door you picked. I cannot open C because it has the car behind it.</p><p>This means, P ( opens = B | door = C ) = 1 .</p><p>Because I can open door B in two cases as above, the total probability of opening door B will be</p><p>P ( opens = B ) = ( P ( door = A ) * P ( opens = B | door = A ) ) + ( P ( door = C ) * P ( opens = B | door = C ) )</p><p>P ( opens = B ) = ( 1/3 * 1/2 ) + ( 1/3 * 1 ) = 1/2</p><p>Now, calculating our final probabilities using Bayes theorem</p><p>P ( door = A | opens = B ) = [ P ( door = A ) * P ( opens = B | door = A ) ] / P ( opens = B )</p><p>= [ 1/3 * 1/2 ] / ( 1/2 )</p><p>= 1/3</p><p>Similarly,</p><p>P ( door = C | opens = B ) = [ P ( door = C ) * P ( opens = B | door = C ) ] / P ( opens = B )</p><p>= [ 1/3 * 1] / ( 1/2 )</p><p>= 2/3</p><p>Now you know that you have a 66.66 % chance of winning if you switch.</p><p>If you did not understand it clearly, let me make it more simpler.</p><p>Consider the below table which covers all the possibilities. Now that you have chosen door A, I would show you one of the remaining empty doors. Let’s see all the possibilities.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/896/1*lP22lNyWh60zXTSZxoECFg.png" /></figure><p>As you can see, you are winning by switching two out of three times.</p><p>This means you have a 66.66 % chance of winning if you switch and a 33.33 % chance of winning if you do not switch.</p><h3>The Magic Ingredient — Data</h3><p>The mere additional fact of opening a door without the prize allows you to improve your chances of winning the prize significantly.</p><p>In reality, it’s not restricted to only three doors, and the prize does not remain the same.</p><p>Let me give you an example. I am pretty sure everybody uses Facebook. If Facebook played the game, what do you think would be the real prize for them?</p><p>If you think about it, the prize is YOU. The more Facebook knows about you, the more easily it can target its ads towards you. Now, how do you think Facebook gets closer to the real prize? In the exact similar manner how you got closer to your Lamborghini, by seeing what is behind multiple doors.</p><p>In this case, you open the doors to them. By providing data such as Location, Age, Job status, Education details, etc., you unlock more doors for Facebook, and they use it to get closer to you. In fact, Facebook uses 98 personal data points to target ads at you.</p><p>Do you think that’s a lot of doors? You are not even close. By 2020, it is estimated that the amount of data available would be around 44 zettabytes ( 1 zettabyte = 1000 ^ 7 bytes ). Please don’t get me wrong; my intention is not to compare each door to a byte of data or anything. All I want you to imagine is the scale of the number of doors that could exist with such vast amounts of data available.</p><p>There are a lot of secrets yet to be revealed by opening the doors. Many doors may be related to each other or entirely different. Exploring these doors to reveal far more essential truths is what data science is all about. Sounds magical, isn’t it? If you want to be a magician too, start practicing Data Science.</p><p>Not just Facebook, almost all the companies have started to realize the importance of data and how it can help them in all the business domains, be it marketing, finance, supply chain, and so on. ( There is a reason jobs in the domain of Data Science and Analytics are on very high demand in the market 😊 ). My job here was to make you realize its importance too. I hope you start building your knowledge of Data Science and Technology.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=33ea92e45ebb" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The never-ending loop: Cybercrime and Cybersecurity]]></title>
            <link>https://medium.com/@sreevatsa96/the-never-ending-loop-cybercrime-and-cybersecurity-e395551698a6?source=rss-8eea9fba6fd5------2</link>
            <guid isPermaLink="false">https://medium.com/p/e395551698a6</guid>
            <category><![CDATA[artificial-intelligence]]></category>
            <category><![CDATA[technology]]></category>
            <category><![CDATA[hacking]]></category>
            <category><![CDATA[education]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <dc:creator><![CDATA[Sreevatsa]]></dc:creator>
            <pubDate>Sun, 09 Aug 2020 09:06:59 GMT</pubDate>
            <atom:updated>2020-08-09T09:09:00.721Z</atom:updated>
            <content:encoded><![CDATA[<p>On July 15th, 2020, great personalities like Bill Gates, Barack Obama, Elon Musk, Jeff Bezos, and many others decided to give something back to all. All of them tweeted at once, saying that all the Bitcoins sent to their BTC address within the next 30 minutes will be doubled and sent back to you. Basically, they offered you a deal to double your money.</p><p>Or did they?</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/683/1*RGua_NKR9KemtDqry5ZD7w.png" /><figcaption>Twitter Message</figcaption></figure><p>They did not. They were victims of cybercrime. They were ‘<strong>HACKED</strong>.’</p><p>But the hackers had a good time. Because all these personalities had millions of followers on Twitter, the hackers were able to spread this message to a very vast audience. They made over 110,000 dollars within 30 minutes.</p><p>With everything connected over the Internet, hackers are just feasting whenever they get the opportunity. According to Cybersecurity ventures, cybercrimes around the world will cost us over <a href="https://cybersecurityventures.com/hackerpocalypse-cybercrime-report-2016/#:~:text=Cybersecurity%20Ventures%20predicts%20cybercrime%20damages,in%20size%2C%20sophistication%20and%20cost">$6 trillion</a> annually by 2021, which is up from $3 trillion in 2015. So, Cybersecurity must grow at an accelerated pace to keep the hackers at bay.</p><p>When hackers are updating themselves, why shouldn’t we? But first, we need to understand the basics of Cybersecurity, and I will give you a glimpse of it through this article.</p><h3>Cybersecurity</h3><p>As the name suggests, it is the practice of protecting systems, networks, and programs from digital attacks. Cybersecurity can mean different based on its application in a variety of contexts.</p><ul><li><strong>Network security</strong> is the practice of securing a computer network from intruders, whether targeted attackers or opportunistic Malware.</li><li><strong>Application security</strong> mainly focuses on keeping software applications free of threats. If an application is compromised, it can provide access to its data.</li><li><strong>Information security</strong> protects the integrity and privacy of data, both in storage and in transit.</li><li><strong>Operational security</strong> focuses on the processes and decisions that are taken to protect data assets.</li></ul><p>These are just some of the contexts. You can google them if you want to know more about them in theory.</p><p>But the critical thing to understand here is to know why the hackers are behind this? They are interested in ‘<strong>The Data</strong>’ that they obtain. They can do a lot with this data. They can threaten to sell business data to its competitors, blackmail an individual for money, or use this advantage in any way they can. If you still don’t realize the power the data has, I suggest you go through <a href="https://www.bifluke.com/post/how-data-is-important-in-data-analytics">this article</a> where I have tried to explain the importance of data in a fun way.</p><p>Let’s look at some of the common cybersecurity threats.</p><p><strong>Malware </strong>— Malware means malicious software. It is one of the most common cyber threats. It often spreads when you download anything that you feel is legitimate, and then you get attacked by it. Some types of Malware include a Virus, Trojans, Spyware, Botnets, Adware, and Ransomware.</p><p><strong>Phishing </strong>— In this type of attack, the hacker sends fraudulent emails that look like they are from legitimate sources. Its main aim is to steal sensitive data like credit card numbers, login information, and any other personal information that can be leveraged.</p><p><strong>Man in the Middle attack</strong> — An attacker intercepts the communication between two individuals to steal data. Say you are using an insecure Wi-Fi network, an attacker can intercept the data that flows between the user’s device and the network.</p><p><strong>Denial-of-service attack</strong> — Denial of service is generally accomplished by flooding the targeted machine or the server with superfluous requests in an attempt to overload systems or the server and prevent some or all legitimate requests from being fulfilled. This will make the system unstable, which will prevent the attacked organization from carrying out its essential functions.</p><p>Until now, I gave you basic information related to Cybercrimes and Cybersecurity, which everyone must have an idea about it.</p><p>Now, let me tell you a story about a Ransomware, so it would be easy for you to understand how a cyber attack works.</p><h3>The Story</h3><p>Back in May 2017, a Malware called ‘<strong>WannaCry</strong>’ created havoc around the world. It affected more than 150 countries, which caused a damage of about $4 Billion.</p><p>Ransomware, like any other Malware, is a software that starts affecting your computer once you downland any malicious piece of information. It might be an email attachment, an application, or anything else that appears to be legitimate, but it won’t let your system go until it invades it. In this particular case, WannaCry exploited a bug in Microsoft Windows.</p><p>Once any ransomware enters your system, it encrypts all your data. You won’t be able to recognize your data unless its decrypted. For decrypting your data, you will need a Key. This is where the hacker comes in. He will convey it to you that you will get the key to decrypt your files once you pay some Ransom to the hacker.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/620/1*_dO3OuVtjASxjAZz-N9ulw.jpeg" /><figcaption>Example of a Ransomware attack</figcaption></figure><p>You are caught up. You don’t have any other option than to pay the attacker. If you feel your data is important, you end up paying to the attacker. The attacker is also smart. He or she won’t provide you with an account number and ask you to transfer the money. The attacker doesn’t want to get caught. So, the attacker will ask you to transfer the ransom through Bitcoin. Now, if you are confused about why bitcoin, it is because of its security. If you want to know more about how bitcoin works and why it is secure, make sure to check the article: <a href="https://www.bifluke.com/post/how-does-bitcoin-work">Bitcoin Simplified</a>.</p><p>More often than not, the attacker gives you the key to decrypt your data. Its because they need to develop trust with their victims. It sounds funny, but some hacker societies have websites and customer supports too to help you pay the ransom.</p><p>Let’s look at one of the hacker society, which almost all of you would be aware.</p><h4>Anonymous</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*cpdLIJVPK5hcO2f9eXXc9A.jpeg" /></figure><p>According to Wikipedia,</p><p><strong>“</strong>Anonymous is a <a href="https://en.wikipedia.org/wiki/Decentralized">decentralized</a> international <a href="https://en.wikipedia.org/wiki/Activism">activist</a>/<a href="https://en.wikipedia.org/wiki/Hacktivist">hacktivist</a> <a href="https://en.wikipedia.org/wiki/Collective">collective</a>/movement that is widely known for its various <a href="https://en.wikipedia.org/wiki/Cyber_attacks">cyber attacks</a> against several <a href="https://en.wikipedia.org/wiki/Governments">governments</a>, government institutions and <a href="https://en.wikipedia.org/wiki/Government_agencies">government agencies</a>, <a href="https://en.wikipedia.org/wiki/Corporations">corporations</a>, and the <a href="https://en.wikipedia.org/wiki/Church_of_Scientology">Church of Scientology</a>.”</p><p>Originated in 2003, it has been responsible for many cybercrimes.</p><ul><li>In December 2010, when the US government demanded WikiLeaks to stop releasing top-secret diplomatic cables to the public, many companies turned against WikiLeaks and shut down the site’s servers. Anonymous decided to step up and support the cause of WikiLeaks and declared war on Visa, Mastercard, and Paypal for refusing to do business with <a href="https://wikileaks.org/What-is-WikiLeaks.html">WikiLeaks </a>and took down their sites.</li><li>In 2012, when Indian internet service providers, along with the Indian government decided to block video sites like Vimeo and file-sharing sites like the Pirate Bay, Anonymous decided to take charge and attacked various government and political websites. Hit hardest were the Indian telecoms department, electronics and IT ministry, supreme court, and sites used by the BJP and INC political parties, which were all knocked offline.</li></ul><p>Now that you know know how chaotic the cyber world is, you need to try and prepare yourselves from cyber attacks. Some basic stuff that you hear about frequently changing your passwords or keeping the software updated or using strong passwords etc actually do matter.</p><p>Companies like Microsoft keep releasing security updates for us frequently. Businesses have started using the cloud to back up their data regularly to prevent themselves from ransomware attacks. They are investing in the latest antivirus software. Most importantly, businesses have started to become proactive, and being proactive is one of the best lines of defense.</p><p>Not just the businesses, but many cybersecurity providers are also becoming proactive. Companies such as Fortinet, Mcafee, Avast, etc have understood that cybercrimes are not going to stop anytime soon. They also know they have a very bright cybersecurity market that lies ahead in the future.</p><p>In fact, it is estimated that the global cybersecurity market will be over $300 billion by 2024 from about $140 Billion in 2017. In terms of providing security, many organizations are looking towards Artificial Intelligence for their Cybersecurity.</p><h3>AI is the new frontier in digital security</h3><p>The number of cyberattacks that organizations have to go through day by day is increasing rapidly. The cyberattacks that require immediate attention have been growing rapidly, and it is becoming tough for cyber analysts to handle such a volume of cyberattacks. The organizations have understood the magnitude of effort that is needed to deal with such attacks. Hence, the investment in AI for Cybersecurity is increasing to respond to such attacks.</p><p>Many organizations rely on AI to reduce the number of breaches or attacks and deliver a consistent quality of response.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/703/1*a8r_ewTGn8wDc75pHyQLNQ.png" /><figcaption><strong>Source:</strong> <a href="https://www.accenture.com/_acnmedia/PDF-116/Accenture-Cybersecurity-Report-2020.pdf#zoom=40">Accenture</a></figcaption></figure><p>One question which used to bother me was, ‘Where should organizations focus their cybersecurity initiatives on.’ If you think about it, the scope of AI is very vast. I needed to know which use cases would be the most important for AI in Cybersecurity. I found this beautiful report from Capgemini, that answered my question.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/922/1*5n901YVQFIHU6Lzioo9VHQ.png" /><figcaption><strong>Source:</strong> <a href="https://www.capgemini.com/wp-content/uploads/2019/07/AI-in-Cybersecurity_Report_20190711_V06.pdf">Capgemini</a></figcaption></figure><p>n the graph, OT refers to <a href="https://en.wikipedia.org/wiki/Operational_technology">Operational Technology</a>, IoT refers to the <a href="https://en.wikipedia.org/wiki/Internet_of_things">Internet of Things</a>, and IT refers to <a href="https://en.wikipedia.org/wiki/Information_technology#:~:text=Information%20technology%20(IT)%20is%20the,and%20communications%20technology%20(ICT)">Information Technology</a>.</p><p>As the graph suggests, fraud detection, malware detection, intrusion detection, scoring risk in a network, and user/machine behavioral analysis are the five highest AI use cases for improving Cybersecurity.</p><p>With the ever-increasing IT landscape and the growing reliance on the Internet, the security challenges are going to get more complex. I just want to say that being proactive is the best way to tackle these cybersecurity challenges. Fascinating and challenging times are ahead for the organizations in terms of Cybersecurity.</p><p>For more Business and Technology related content, you can either follow me or visit our blog <a href="https://www.bifluke.com/post/how-does-bitcoin-work">BiFluke</a>.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e395551698a6" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Bitcoin Simplified]]></title>
            <link>https://medium.com/thecapital/bitcoin-simplified-7bda3024f04b?source=rss-8eea9fba6fd5------2</link>
            <guid isPermaLink="false">https://medium.com/p/7bda3024f04b</guid>
            <category><![CDATA[finance]]></category>
            <category><![CDATA[bitcoin-mining]]></category>
            <category><![CDATA[bitcoin]]></category>
            <category><![CDATA[cryptocurrency]]></category>
            <category><![CDATA[blockchain]]></category>
            <dc:creator><![CDATA[Sreevatsa]]></dc:creator>
            <pubDate>Fri, 31 Jul 2020 19:51:41 GMT</pubDate>
            <atom:updated>2020-08-04T02:26:20.397Z</atom:updated>
            <content:encoded><![CDATA[<h4>By <a href="https://medium.com/u/8eea9fba6fd5">Sreevatsa</a> on The Capital</h4><p>Bitcoin — It has been a buzzword that everyone talks about for about a decade now. Well, why shouldn’t it be? In March 2010, the value of bitcoin was just about $0.003. By the end of December 2017, its price was over $19,000. Currently, it is trading at about $9000. I agree it’s volatile, but imagine the returns that it would have given you if you were an early investor. (You can calculate it and get a bit jealous of not investing early). Bitcoin has created a lot of Millionaires, and it might continue to do so in the future.</p><p>Unfortunately, the majority of the population only understands Bitcoin in purely monetary terms. They do not follow the beauty of technology involved in it. Well, that’s what I am here for. I will try to explain to you the mechanism of how Bitcoin works, and hopefully, by the end of this article, you would be well versed with this technological revolution than the majority.</p><h3>What problem is Bitcoin solving?</h3><p>Before you understand a solution, it is essential to know what problem it is trying to solve.</p><p>Suppose it is your friend Ram’s birthday today. You want to give him some money so that he can spend it on whatever he wants. You give him a 2000 Rupee note ( You are pretty generous, aren’t you ). In this transaction, there is an exchange of the physical asset. You and I both know, I have given you a note of Rs 2000, and once I have transferred it to you, I no longer own this note. So, there is a clear distinction between who owns what.</p><p>Suppose you are using digital currency. You would be transferring the money digitally. This is where the problem begins. Because there is no physical asset involved, you can easily duplicate this money. There would be no proof that I have transferred this Rs 2000 to only Ram. Maybe I have transferred this to some other friend as well or used it in any other way. So, what I am mainly doing is double-spending my money. This problem is known as the “Double- Spending” problem.</p><p>So, how would you solve it? Have someone verify your digital transactions. They need to validate that your transaction is correct and ensure you would not double spend. Currently, the bodies responsible for doing this are the Banks. They ensure your wealth is secured digitally, and whenever you make any transaction, it reflects into your account, and your money is tracked accordingly.</p><p>You might be wondering if the problem is solved. Why did something like Bitcoin come up? Let me tell you an interesting fact. About 92% of the world’s currency is digital. You heard me right. It is not printed, but digital. Banks track all these huge amounts of money.</p><p>This is a centralized approach to solve the double-spending problem where banks ensure everything runs smoothly. But, don’t you think an enormous amount of power is given in the hands of a very few people ( Banks )? Only a few persons would control the entire world’s money. Also, in this centralized approach, banks are a single point of failure. Hackers would be waiting for an opportunity to make some money.</p><p>Enter Bitcoin. Bitcoin is a decentralized digital revolution started years ago when an anonymous man named Satoshi Nakamoto ( the founder of bitcoin, who is still unknown to this day ) created an ingenious mathematical wonder known as the blockchain<em>,</em> a decentralized database technology that empowers Bitcoin.</p><p>Do not worry if you do not understand some of the terms. We are just getting started with the article.</p><h3>How does a Bitcoin transaction work?</h3><p>Suppose you want to send your friend a Bitcoin. You need a bitcoin wallet, your private key, and a bitcoin address. Think of a Bitcoin address as a transparent deposit box. It is password protected. Everyone can see what is inside it, but nobody can take anything or put anything in it. It can be opened by the password that only you possess, which is your private key.</p><p>When you want to send your friend a bitcoin, you will sign the transaction with your private key and then send out that transaction into the Bitcoin network.</p><p>Don’t get confused. It is similar to any other digital transaction that you do. Once you enter the amount that you want to send, you either provide your ATM pin, or your OTP, which is similar to the private key. Afterward, your bank gets the details of this transaction that you want to carry out. Your bank verifies it, and finally, your transaction gets completed.</p><p>The only thing that changes in your Bitcoin transaction is the process of verification.</p><h3>Bitcoin Mining</h3><p>Once you submit your transaction, it is sent to the bitcoin network. Here is where the magic of blockchain happens.</p><p>In simple terms, a blockchain, as the name suggests, is a connection of blocks. Each block contains multiple transaction details.</p><p>Now once you carry out a transaction, it needs to be verified and put into a block. Who does this verification? Enter Bitcoin Miners.</p><p>For validating the transactions, the miners need to solve a computational puzzle. The miner who solves the puzzle gets to verify the transactions and add the corresponding block at the rear end of the blockchain. Once the transactions are added to the blockchain, the miner is rewarded with bitcoins. Also, all the other miners get updated on the addition of the new block and the new blockchain structure.</p><p>This is a simple version of how bitcoin mining works. So, you can either move to the next section of the article or if you are interested to understand it in a bit more detail, be my guest.</p><p>Let’s get into the transaction process again. You have sent a bitcoin to your friend, and it is reflected in the bitcoin network. A miner is a person in the network whose sole purpose is to earn bitcoins by verifying the transactions.</p><p>The miner needs to find a mathematical solution to validate the transaction. The mathematical solution is actually a cryptographic hash function that the miner needs to run on his computer to generate a hash for the block.</p><p>Now, what is this hash function?</p><p>A hash function is a mathematical function that converts an input value into another compressed output value. The input to the hash function is of arbitrary length, but the output is always of fixed length.</p><p>Let me give you a simple example. Let’s say you have a hash function H().</p><p>H (input) 🡪 hash [ When you give an input to a hash function, it will generate an output ]</p><p>Let us say,</p><p>H( input 1 ) -&gt; 1a</p><p>H ( input 2 ) -&gt; 2a (Output of this hash function has two characters, and its output length is fixed for all inputs of different sizes)</p><p>………, and so on.</p><p>An essential property of a hash function is that the hash function must use all the input data and produce a unique output for specific input. Also, the operation that is performed by a hash function must be complex such that it must not be easy to get the input by looking at the hash outputs. At the same time, it must also be easy enough to produce a hash of the required length from the given inputs.</p><p>In simple terms, you are encrypting a file into a language that would be difficult to understand by others. Because your information is private, it must not be easy for a person to decrypt it and get back the input from the hash.</p><p>In our case, the miner needs to generate a hash for the block that he or she wants to add at the rear end of the blockchain<strong>.</strong></p><p>Now, each block in the blockchain contains the transactions of that block and the hash value of the previous block. What I mean is that each block’s hash is produced from the hash of the block before it, and the link grows back to the very first block created in the blockchain, at some time in January 2009, when Bitcoin was launched. If anyone tried to add a fake transaction, the hash associated with the block would change, and when users run hashing on those fake blocks, the system will instantly understand that the block has changed from last time. The transaction will be immediately spotted as a fake. If a hacker wants to fake any transaction in the blockchain, he needs to update all the blocks in the blockchain at once, and this is not possible because it requires a very high computing power, which is not possible to generate with the currently available technology.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*6eGn-sQpAfqx2z6gLl9lJg.png" /><figcaption>Bitcoin Mining Process</figcaption></figure><p>Not only the blocks, but even your bitcoin addresses are stored after applying the hash function. The bitcoin blockchain uses SHA 256 hashing algorithm. Well, I won’t explain to you the algorithm, but I will give you a sense of security it provides you. If you get a supercomputer that can perform 15 trillion calculations per second to crack the hash, it would take almost 0.65 billion billion years for it to crack the hash of a single bitcoin address using brute force attack. (Yes, the sentence actually had two billion.)</p><p>I just felt this is a good time to address the safety and security aspect of a bitcoin protocol as we were speaking of hash functions. I hope you are not lost. Please come back to the bitcoin miners.</p><p>As I told you before, generating a hash from a given data is easy, but the reverse is very difficult. In this context though, the task of generating a hash is not always easy. Or else, don’t you think the miner’s main work would be very easy? All they need to do is generate a hash, and get paid in bitcoins. Easy way to earn money, right? … Wrong. It’s actually not the case.</p><p>The miners need to generate a hash that needs to adhere to specific criteria. These criteria require huge processing powers. The miners invest a lot of capital to acquire this power. They need to invest a lot of different processors, electricity, computational power, and various other resources. The smart mathematical design of the bitcoin protocol makes sure that the hashing function is resource-intensive and time-consuming. So, whenever a required hash is generated, it means that sufficient resources and effort have been put in by the miner. This is known as “proof of work.” This concept of proof of work ensures that enough resources have been put into producing the required hash.</p><p>An important thing that I want you to know is that there are only 21 million bitcoins that can ever be mined. And also that the only way a new bit is ever produced or in other terms the only way a new bitcoin enters the network for any usage is through Mining. It is quite simple to understand. When you mine or discover something, only then can you use it. Once the miners generate the hash and add the block to the blockchain, he is rewarded with a certain number of bitcoins for his work.</p><p>This means miners are the only ones who receive new bitcoins for their work, and as and when they receive bitcoins, the amount of bitcoins available to be mined becomes lesser and lesser. Miners later sell these coins on the exchanges, and it comes in circulation in the open market. The good news is anybody can become a miner. All you need to mine is download the mining software which is available for free and run it on your superfast computer.</p><p>Logically, you might get the following questions considering the above information on Mining:</p><ol><li>You might think if I have a superfast computer with higher processing powers, then I can verify more blocks faster by producing the required hash and get more bitcoins as a reward. Also, you might think by having more superfast computers, 21 million bitcoins would be mined very fastly.</li><li>Why is there a limited number of bitcoins?</li><li>Is 21 million bitcoins enough globally?</li><li>If I have to use it as a currency to exchange goods, how would I know the worth of each bitcoin?</li></ol><p>The bitcoin protocol knows that superfast computers would be able to generate hash much faster. You might think that in case many miners bring loads of computational resources into the network to generate the hash, the rate at which new blocks are verified will naturally increase. This actually does not happen. Thanks to the incredible course adjusting mechanism that is built in the protocol. When more computational power is applied in the network, the mining difficulty in producing the required hash increases, and when the computational power decreases, the mining difficulty decreases accordingly. This self adjusts in such a beautiful manner that the average time of a mining operation per block remains 10 minutes. Even if all the computers and supercomputers in the world are brought to mine the network, the mining time per block would remain almost constant.</p><p>Once the miner generates the required hash and adds the block to the blockchain, he is awarded a certain number of bitcoins as “block reward.” The block reward is cut in half every 210,000 blocks, or roughly every four long years (Time to verify each block takes about 10 minutes as discussed above. So, you can calculate easily that 210000 blocks come down to four years). The block reward that started at 50 in 2009 reached 25 in 2014, and now it is at 12.5 bitcoins. It will continue to decrease. The ever-decreasing block reward will hold the value of Bitcoin straight up always, and by the end, mathematically, 21 million bitcoins would have been released by the year 2140.</p><p>To answer your second question, just think about Gold. Why do you think Gold is valuable? It surely doesn’t cure any disease or provide you with any magical powers. The reason Gold is valuable is that it is limited in quantity. As we know the supply of Gold is limited on Earth, it gets difficult to mine as and when the amount available to mine starts decreasing. This ensures that its value does not change a lot over the years. The same concept is applied to Bitcoin.</p><p>Coming to the third question, the denomination in which you can do a bitcoin transaction is up to eight decimal places. So, I can send you a 0.00000008 bitcoin. Now, you can get an idea that 21 million are enough to have it as a global currency. And as I said before, it needs to be limited to maintain its value.</p><p>Moving on to the final question, Bitcoin stock exchanges determine the value of each bitcoin in dollars. It is similar to any other stock exchange, and I don’t think I need to explain about stock exchanges in detail. It follows the same basic economies.</p><h3>Bitcoin’s future</h3><p>Now that you understand the beautiful working phenomenon of bitcoin, you might be wondering that it has a very bright future.</p><p>Well, it will depend on the governments of various countries and whether they adopt it as a currency or not.</p><p>Currently, governments control fiat currencies. They use central banks to issue or destroy money out of thin air and use monetary policy to exert economic influence. They also track the currency movement, dictate who profits from that movement, collect taxes on it, and trace criminal activity. All of this control is lost when non-government bodies create their own currencies. Think about it. As I told you, anybody could become a miner, and this means anybody can generate currency ( bitcoin ). Also, the currency movement can be tracked by everyone in the network. There is no centralized authority that holds power over the money supply. This might be bad for governments who do not want to lose that control.</p><p>If you look at it from different perspectives, there are lots of pros and cons of using bitcoin as a cryptocurrency. But that is a topic for another time. You can go through its pros and cons by yourself. All you need to do is Google.</p><p>I think the emergence of this revolutionary blockchain technology needs to be discussed more and debated. It is going to offer us a lot of fruit in the future.</p><p>If you like to read more such articles, either follow me or please visit our blog <a href="https://www.bifluke.com/">Bifluke</a>.</p><p><a href="https://twitter.com/thecapital_io">https://twitter.com/thecapital_io</a></p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fupscri.be%2Ff%2F3c1144%3Fas_embed%3Dtrue&amp;dntp=1&amp;display_name=Upscribe&amp;url=https%3A%2F%2Fupscri.be%2F3c1144&amp;key=d04bfffea46d4aeda930ec88cc64b87c&amp;type=text%2Fhtml&amp;schema=upscri" width="800" height="400" frameborder="0" scrolling="no"><a href="https://medium.com/media/3b6b127891c5c8711ad105e61d6cc81f/href">https://medium.com/media/3b6b127891c5c8711ad105e61d6cc81f/href</a></iframe><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=7bda3024f04b" width="1" height="1" alt=""><hr><p><a href="https://medium.com/thecapital/bitcoin-simplified-7bda3024f04b">Bitcoin Simplified</a> was originally published in <a href="https://medium.com/thecapital">The Capital</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>