Close Menu
New York Examiner News

    Subscribe to Updates

    Get the latest creative news from FooBar about art, design and business.

    What's Hot

    Jack White and Charley Crockett Are Beefing

    August 19, 2026

    From Pennsylvania to Ohio to Texas, the governors’ races are all coming down to data centers

    August 19, 2026

    Trump Is Furious That Sen. Jon Ossoff Called Out His Relationship With Natalie Harp

    August 19, 2026
    Facebook X (Twitter) Instagram
    New York Examiner News
    • Home
    • US News
    • Politics
    • Business
    • Science
    • Technology
    • Lifestyle
    • Music
    • Television
    • Film
    • Books
    • Contact
      • About
      • Amazon Disclaimer
      • DMCA / Copyrights Disclaimer
      • Terms and Conditions
      • Privacy Policy
    New York Examiner News
    Home»Science»The Simple Math Behind Public Key Cryptography
    Science

    The Simple Math Behind Public Key Cryptography

    By AdminDecember 16, 2024
    Facebook Twitter Pinterest LinkedIn WhatsApp Email Reddit Telegram
    The Simple Math Behind Public Key Cryptography


    The original version of this story appeared in Quanta Magazine.

    For thousands of years, if you wanted to send a secret message, there was basically one way to do it. You’d scramble the message using a special rule, known only to you and your intended audience. This rule acted like the key to a lock. If you had the key, you could unscramble the message; otherwise, you’d need to pick the lock. Some locks are so effective they can never be picked, even with infinite time and resources. But even those schemes suffer from the same Achilles’ heel that plagues all such encryption systems: How do you get that key into the right hands while keeping it out of the wrong ones?

    The counterintuitive solution, known as public key cryptography, relies not on keeping a key secret but rather on making it widely available. The trick is to also use a second key that you never share with anyone, even the person you’re communicating with. It’s only by using this combination of two keys—one public, one private—that someone can both scramble and unscramble a message.

    To understand how this works, it’s easier to think of the “keys” not as objects that fit into a lock, but as two complementary ingredients in an invisible ink. The first ingredient makes messages disappear, and the second makes them reappear. If a spy named Boris wants to send his counterpart Natasha a secret message, he writes a message and then uses the first ingredient to render it invisible on the page. (This is easy for him to do: Natasha has published an easy and well-known formula for disappearing ink.) When Natasha receives the paper in the mail, she applies the second ingredient that makes Boris’ message reappear.

    In this scheme, anyone can make messages invisible, but only Natasha can make them visible again. And because she never shares the formula for the second ingredient with anyone—not even Boris—she can be sure the message hasn’t been deciphered along the way. When Boris wants to receive secret messages, he simply adopts the same procedure: He publishes an easy recipe for making messages disappear (that Natasha or anyone else can use), while keeping another one just for himself that makes them reappear.

    In public key cryptography, the “public” and “private” keys work just like the first and second ingredients in this special invisible ink: One encrypts messages, the other decrypts them. But instead of using chemicals, public key cryptography uses mathematical puzzles called trapdoor functions. These functions are easy to compute in one direction and extremely difficult to reverse. But they also contain “trapdoors,” pieces of information that, if known, make the functions trivially easy to compute in both directions.

    One common trapdoor function involves multiplying two large prime numbers, an easy operation to perform. But reversing it—that is, starting with the product and finding each prime factor—is computationally impractical. To make a public key, start with two large prime numbers. These are your trapdoors. Multiply the two numbers together, then perform some additional mathematical operations. This public key can now encrypt messages. To decrypt them, you’ll need the corresponding private key, which contains the prime factors—the necessary trapdoors. With those numbers, it’s easy to decrypt the message. Keep those two prime factors secret, and the message will stay secret.



    Original Source Link

    Share. Facebook Twitter Pinterest LinkedIn WhatsApp Email Reddit Telegram
    Previous ArticleBAFTA Cymru Appoints Lee Walters as Chair
    Next Article EU signs $11B deal for sovereign satellite constellation to rival Musk’s Starlink

    RELATED POSTS

    Inside the Experimental Traps Scientists Set for Ghostly Neutrinos

    August 19, 2026

    Squeeze More Juice Out of Your Dead Batteries—Using Physics

    August 19, 2026

    There’s a New Link Between Gut Health and Alzheimer’s Disease

    August 18, 2026

    What Is El Niño, and What Does It Mean for Weather, Water, and the Global Economy?

    August 18, 2026

    El Niño and Saharan Dust Silence Atlantic Hurricane Season

    August 17, 2026

    It’s Never Too Early to Start Planning for the Next Two Solar Eclipses

    August 17, 2026
    latest posts

    Jack White and Charley Crockett Are Beefing

    I never said nothing about this young buck before but since he’s trying to drag…

    From Pennsylvania to Ohio to Texas, the governors’ races are all coming down to data centers

    August 19, 2026

    Trump Is Furious That Sen. Jon Ossoff Called Out His Relationship With Natalie Harp

    August 19, 2026

    A massive brawl at Cowboys and Saints joint practice includes punches and helmets thrown and WWE moves

    August 19, 2026

    TerraPower’s nuclear reactor has a secret weapon for powering AI data centers

    August 19, 2026

    Inside the Experimental Traps Scientists Set for Ghostly Neutrinos

    August 19, 2026

    How Anne Hathaway Became the Mother of Millennials

    August 19, 2026
    Categories
    • Books (1,438)
    • Business (6,341)
    • Events (68)
    • Film (6,277)
    • Lifestyle (4,351)
    • Music (6,402)
    • Politics (6,325)
    • Science (5,695)
    • Technology (6,274)
    • Television (5,968)
    • Uncategorized (9)
    • US News (6,329)
    popular posts

    Pranysqa Mishra Sings Tina Turner At Season 19 Audition [VIDEO]

    ‘AGT’: Pranysqa Mishra Sings Tina Turner At Season 19 Audition [VIDEO] ad \ Original Source…

    Corlys and Daemon in Tumbleton, Alyn and Rhaenyra (Exclusive)

    August 10, 2026

    Kenny Rogers’ Posthumous Album ‘Life Is Like a Song’ Is Coming – Billboard

    April 12, 2023

    In Huge Blow to Joe Biden, Manchin and Sinema Will NOT Kill Filibuster For Abortion Law

    July 1, 2022
    Archives
    Browse By Category
    • Books (1,438)
    • Business (6,341)
    • Events (68)
    • Film (6,277)
    • Lifestyle (4,351)
    • Music (6,402)
    • Politics (6,325)
    • Science (5,695)
    • Technology (6,274)
    • Television (5,968)
    • Uncategorized (9)
    • US News (6,329)
    About Us

    We are a creativity led international team with a digital soul. Our work is a custom built by the storytellers and strategists with a flair for exploiting the latest advancements in media and technology.

    Most of all, we stand behind our ideas and believe in creativity as the most powerful force in business.

    What makes us Different

    We care. We collaborate. We do great work. And we do it with a smile, because we’re pretty damn excited to do what we do. If you would like details on what else we can do visit out Contact page.

    Our Picks

    Inside the Experimental Traps Scientists Set for Ghostly Neutrinos

    August 19, 2026

    How Anne Hathaway Became the Mother of Millennials

    August 19, 2026

    ‘AGT’ Howie Mandel Teases Season 21 Frontrunners

    August 19, 2026
    © 2026 New York Examiner News. All rights reserved. All articles, images, product names, logos, and brands are property of their respective owners. All company, product and service names used in this website are for identification purposes only. Use of these names, logos, and brands does not imply endorsement unless specified. By using this site, you agree to the Terms & Conditions and Privacy Policy.

    Type above and press Enter to search. Press Esc to cancel.

    We use cookies on our website to give you the most relevant experience by remembering your preferences and repeat visits. By clicking “Accept All”, you consent to the use of ALL the cookies. However, you may visit "Cookie Settings" to provide a controlled consent.
    Cookie SettingsAccept All
    Manage consent

    Privacy Overview

    This website uses cookies to improve your experience while you navigate through the website. Out of these, the cookies that are categorized as necessary are stored on your browser as they are essential for the working of basic functionalities of the website. We also use third-party cookies that help us analyze and understand how you use this website. These cookies will be stored in your browser only with your consent. You also have the option to opt-out of these cookies. But opting out of some of these cookies may affect your browsing experience.
    Necessary
    Always Enabled
    Necessary cookies are absolutely essential for the website to function properly. These cookies ensure basic functionalities and security features of the website, anonymously.
    CookieDurationDescription
    cookielawinfo-checkbox-analytics11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Analytics".
    cookielawinfo-checkbox-functional11 monthsThe cookie is set by GDPR cookie consent to record the user consent for the cookies in the category "Functional".
    cookielawinfo-checkbox-necessary11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookies is used to store the user consent for the cookies in the category "Necessary".
    cookielawinfo-checkbox-others11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Other.
    cookielawinfo-checkbox-performance11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Performance".
    viewed_cookie_policy11 monthsThe cookie is set by the GDPR Cookie Consent plugin and is used to store whether or not user has consented to the use of cookies. It does not store any personal data.
    Functional
    Functional cookies help to perform certain functionalities like sharing the content of the website on social media platforms, collect feedbacks, and other third-party features.
    Performance
    Performance cookies are used to understand and analyze the key performance indexes of the website which helps in delivering a better user experience for the visitors.
    Analytics
    Analytical cookies are used to understand how visitors interact with the website. These cookies help provide information on metrics the number of visitors, bounce rate, traffic source, etc.
    Advertisement
    Advertisement cookies are used to provide visitors with relevant ads and marketing campaigns. These cookies track visitors across websites and collect information to provide customized ads.
    Others
    Other uncategorized cookies are those that are being analyzed and have not been classified into a category as yet.
    SAVE & ACCEPT