<?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 Kyle Thornton on Medium]]></title>
        <description><![CDATA[Stories by Kyle Thornton on Medium]]></description>
        <link>https://medium.com/@kyle-thornton?source=rss-36fee18130d6------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*CBbmREEX6sPSQknyFWWpjw.jpeg</url>
            <title>Stories by Kyle Thornton on Medium</title>
            <link>https://medium.com/@kyle-thornton?source=rss-36fee18130d6------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Fri, 04 Dec 2026 04:59:50 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@kyle-thornton/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[Stay safe out there, friends]]></title>
            <link>https://medium.com/@kyle-thornton/stay-safe-out-there-friends-deb62926bd2b?source=rss-36fee18130d6------2</link>
            <guid isPermaLink="false">https://medium.com/p/deb62926bd2b</guid>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[crypto]]></category>
            <category><![CDATA[cryptocurrency]]></category>
            <category><![CDATA[ethereum]]></category>
            <category><![CDATA[security]]></category>
            <dc:creator><![CDATA[Kyle Thornton]]></dc:creator>
            <pubDate>Wed, 25 Aug 2021 07:28:15 GMT</pubDate>
            <atom:updated>2021-09-05T00:03:35.944Z</atom:updated>
            <content:encoded><![CDATA[<p>I’ve been noticing that there are lots of misconceptions and incomplete understandings out there about the basics of wallets, keys, and seed phrases that I wanted to take a minute and try to clear up. For the most part, you can get by without deeply understanding these things, but there are certain knowledge gaps that can prove to be extremely costly if you do the wrong thing at the wrong time. Let me take a crack at summarizing the basics, and hopefully that helps things click into place. Here we go.</p><h3>Public-key cryptography basics</h3><p>Let’s take a minute to understand public-key cryptography at a surface level, without worrying about the math behind the scenes.</p><p>First, you need a random 256 Bit number. This is your <strong>private key</strong>. It is <em>extremely</em> unlikely for your number to match anyone else’s if it’s truly chosen randomly. It’s important that you keep this secret, and I hope by reading the rest of this you begin to understand why.</p><p>From that number, you use an algorithm (ECDSA) to produce the associated <strong>public key</strong>. There is a 1-to-1 relationship here. Any given private key has exactly 1 associated public key. Trying to go the reverse direction from public key back to private key is not possible.</p><p>Your Ethereum <strong>wallet</strong> <strong>address</strong> is essentially a shortened version of your public key. (If you’re interested to know, it’s the last 20 bytes of the hash of your public key)</p><p><strong><em>Key takeaway: there is no way to “switch out” the private key associated with a given wallet address. If you are worried that your private key may have gotten out into the world, the wallet associated with that key is no longer usable. There is no way around having to move your assets to a new address.</em></strong></p><h3>Signing messages</h3><p>Ok so now you have this pair:</p><p><strong>private key</strong> - your secret 256-bit number</p><p><strong>public key </strong>- a longer number derived from your private key</p><p>This pair of numbers has a very specific mathematical relationship that makes it so you can now sign messages. How? You end up with 2 methods, <em>sign</em> and <em>recover</em></p><p><em>sign</em>: takes in a message and your <strong>private key</strong>. It outputs a signature (which looks like another long number)</p><p><em>recover</em>: takes in a message and that signature. It outputs your <strong>public key</strong>. If it outputs anything <em>besides</em> your public key, that means that either the message was modified, or it wasn’t actually signed with your private key.</p><p>Very neat.</p><p><strong><em>Key takeaway: If someone has your private key, they can make it look like you signed whatever transaction they’d like. Having your “wallet stolen” means that an attacker used your private key to sign a bunch of transactions telling the blockchain that you gave all of your assets to them.</em></strong></p><h3>Seed phrases (aka “secret recovery phrase”)</h3><p>Generating a bunch of private keys and keeping all of them secret would be a real pain in the butt if you wanted to make a bunch of wallets, having to store each of them separately. This is where seed phrases come in.</p><p>Seed phrases live one level ABOVE private keys, and they can be used to generate lots and lots of private keys. If you’ve ever wondered how Metamask is able to just whip up a new wallet address for you at the press of a button, or how <em>all</em> of your wallets show up when you import your seed phrase on a new device, this is how.</p><p>There are calculator websites that are great at helping visualize the seed phrase → wallet generation process in action, and this is one of my favorites:</p><p>(Before you jump into this, don’t enter your actual seed phrase here, and never use the one it generates as your actual wallet. Just play around with this for demo purposes only.)</p><p><a href="https://iancoleman.io/bip39/">https://iancoleman.io/bip39/</a></p><p>Pop that open, generate 24 words, pick ETH in the “Coin” drop-down, and you’ll see all the derived private key/public key/wallet pairs.</p><figure><img alt="A screenshot taken from the BIP-39 calculator, showing a list of 10 or so public private key pairs that are all derived from the same seed phrase." src="https://cdn-images-1.medium.com/max/1024/1*-SrywLOOQTEw4GXfyuXquQ.png" /><figcaption>An example list of public/private keys generated from a seed phrase.</figcaption></figure><p>Seed phrases are convenient for making lots of separate wallets while having to only keep one thing secret. The fact that they’re english words instead of long numbers also helps reduce the chance of error when copying it down.</p><p><strong><em>Key takeaway: The 24 word seed phrase you get when you set up a new wallet isn’t just the private key to a single wallet address, it’s the private keys to ALL wallet addresses linked to that seed! Losing this would allow an attacker to take control of all of your wallets at the same time. Not only that, but seed phrases can be used to generate wallets on multiple blockchains at the same time. One mistake with this and you could lose all of your money across all blockchains. Protect your seed phrase at all costs.</em></strong></p><h3>Being careful</h3><p>Just because you’re not tweeting out your seed phrase doesn’t mean you’re being careful. Computers are messy places, and there are lots of ways for attackers to attempt to gain access to your seed phrase. I don’t actually know the most common vectors of attack, but I have an example here that should illustrate why your computer is a scary place to keep a seed phrase:</p><p><em>Clipboard sniffing</em></p><p>This is a screenshot someone sent of one of their Chrome extensions suddenly requesting access to the clipboard.</p><figure><img alt="A screenshot of a popup belonging to a chrome extension. It is warning the user of a change in the extension’s permissions, and a red arrow has been added pointing to the line that says “modify data you copy and paste”" src="https://cdn-images-1.medium.com/max/432/0*b91z3mKiqraxigOp" /><figcaption>spooky</figcaption></figure><p>Having this access would allow the extension to sniff whatever happens to pop onto the clipboard at any moment. That one time you copied your seed phrase to export your metamask from Chrome to Brave? Boom, Compromised. This is extra insidious because a sophisticated attacker could hold onto the compromised key for years until the wallet got full enough to finally launch the attack. You’ll have no idea when you were actually compromised.</p><p>Who knows how many applications on your computer, or extensions on your browser might have clipboard access? Maybe some quirky calendar widget on your desktop is sitting there logging all of your keypresses just waiting for a seed phrase to hit your clipboard. Hell, just in July 2020 it was discovered that TikTok was <a href="https://www.forbes.com/sites/zakdoffman/2020/06/26/warning-apple-suddenly-catches-tiktok-secretly-spying-on-millions-of-iphone-users/">sniffing users’ clipboards</a> on iOS. Every time I see someone post and say that they copy/pasted their seed phrase from Rainbow to Metamask or whatever I get really worried for them. What if that was the moment they got compromised and they didn’t know it?</p><p><strong><em>Key takeaway: While Metamask may be storing your seed phrase in your browser storage securely, you should feel some concern if your seed phrase has ever touched a computer connected to the Internet. If you’ve got a lot of money in a browser wallet, you’re walking on thin ice. The best thing you can do is never reveal or copy/paste that seed phrase from now onward. Then, begin work on migrating your assets to a new wallet based on a new seed phrase that has been kept 100% offline, and off a computer.</em></strong></p><h3>Keeping your seed phrase offline, and off of your computer</h3><p>Disclaimer for this section: I’m going to be talking about hardware wallets, and should disclose that I have a family connection to Ledger and I’ve been given a Ledger Nano X for free in the past. I’ll be talking about hardware wallets generically here, and while Ledger is the one I’m familiar with, there are quite a few options out there.</p><p>You may have heard the terms “hot” and “cold” wallets before. Wallets whose keys live on an internet-connected device, like a browser extension or a mobile app are hot wallets. They usually have the nicest user interface, and are optimized to be quick and easy to transact with. In fact, they often make it so easy to move your secrets from device to device via a QR code or something that you can do it without hardly thinking about <em>what </em>you’re actually doing. They’re also the favorite target for attackers because you’re just one clipboard sniff or QR code scan away from being compromised at a moment’s notice.</p><p>Cold wallets live on the other end of the spectrum. The lowest-tech form of a cold wallet is called a paper wallet. There are a couple of ways to generate a key pair and wallet address totally offline. One way is to literally dump 256 pennies on a table, line them up, and call that your private key. You could then run the ECDSA math yourself to find the associated public key, and then transfer your crypto to the address you end up with. The only place your secrets exist are on that one piece of paper, and as long as nobody was spying on you when you threw down the pennies, there’s no way this could be compromised. However, unless you want to run through all of the cryptographic signing algorithms on paper for each transaction you want to do, this kind of “cold” wallet is only viable for truly offline, extremely unusable storage. You typically would turn this into a “hot” wallet by importing the handwritten private key into a computer at the moment you want to send the funds away.</p><p>What we’re looking for is a middle ground. Some kind of strategy where you can keep your secrets offline, off of the computer like a cold wallet, while still being able to execute transactions easily like a hot wallet. This is where hardware wallets come in.</p><p>Ok so what are hardware wallets? Now that you’ve gotten this far, the best way to explain what they are is that they are little electronic hardware devices whose primary job is to keep your seed phrase safely inside of them.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1004/1*PW-9k4CsoghxX_0SpT_XmA.jpeg" /></figure><p>The seed phrase is of no use if you can’t use it, though, so hardware wallets need to offer some kind of external interface that allows for messages to come into the device, get signed within, and get sent back out signed. Nothing secret ever leaves the cryptographically secure chip inside the device, and yet you’re still able to sign transactions relatively easily.</p><p>Setting up hardware wallets differ from device to device, but the one thing they all have in common is that during setup you generate or enter in your seed phrase DIRECTLY onto the device. If you buy a hardware wallet and it’s having you enter in a seed phrase on some sort of app or computer program, it’s trying to trick you. That’s the whole point, that your secrets never touch a computer.</p><p>For the Ledger Nano, the setup process looks something like this:</p><figure><img alt="A screenshot from the Ledger setup video. It shows a moment where one of the words from the seed phrase is visible on the device’s screen, and the user is confirming it." src="https://cdn-images-1.medium.com/max/1024/1*vew9GzY3G2bOi6T5Ug_0yw.png" /></figure><p>Using a hardware wallet is always a little bit less seamless than their hot wallet counterparts. Typically you can just use Metamask like you’re used to, and metamask knows how to route transactions into your Ledger, so the whole experience still feels familiar. Coming from the world of hot wallets there are a couple of quirks you’ll have to get used to. One is that you’ll need to have your hardware wallet on-hand anytime you want to make a transaction. If you’re someone who likes to be able to buy up some NFT drop wherever you’re at, you’ll want a bluetooth-capable hardware wallet that you carry with you at all times, or just keep a hot wallet loaded up with a bit of money to enable your impulse buying habits. You can then transfer to a safer wallet once you’re back at your computer. On top of needing the device, you’ll have to get used to 1 extra step with every transaction, where you have to pick up the hardware wallet to sign the message on the device after you accept the transaction on metamask. For the longest time I kept forgetting to do that part and then getting frustrated with stuck transactions. I kinda wish the Ledger Nano beeped or buzzed when it needed me to do something so I notice it.</p><p>The couple of quirks you need to get used to are nothing compared to the feeling of safety you get knowing that your secrets are actually safely hidden away from attackers. It really helps when yolo’ing into a new sidechain or setting up a random Solana wallet knowing that the device is in charge of your keys, instead of some janky browser extension.</p><p><strong><em>Key takeaway: Hardware wallets offer the ability to keep your seed phrase offline, off of the computer, while still allowing most of the ease-of-access of hot wallets. They really are not optional if you’ve got a lot of crypto assets out there.</em></strong></p><p>Thanks for making it to the end! I hope this has been helpful, and maybe even filled in a couple of gaps in your understanding. If you have any questions, you can catch me anytime in the FWB #learning-crypto channel!</p><p>Take it easy,<br>Kyle</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*oQ9U8JiljIsebpYgit7cRA.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=deb62926bd2b" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>