Close Menu
Beverly Hills Examiner

    Subscribe to Updates

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

    What's Hot

    Ryan Beatty on Beyonce, Songwriting, His Boyfriend & ‘Sweet Fortune’

    August 11, 2026

    Germany weighs options as low water levels trigger price surges

    August 11, 2026

    Trump Falls Asleep In Front Of Reporters, But Wakes Up Long Enough To Endanger Kids

    August 11, 2026
    Facebook X (Twitter) Instagram
    Beverly Hills Examiner
    • Home
    • US News
    • Politics
    • Business
    • Science
    • Technology
    • Lifestyle
    • Music
    • Television
    • Film
    • Books
    • Contact
      • About
      • Amazon Disclaimer
      • DMCA / Copyrights Disclaimer
      • Terms and Conditions
      • Privacy Policy
    Beverly Hills Examiner
    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 ArticleA Look Back at Adrien Brody in ‘The Pianist’
    Next Article UK’s internet watchdog finalizes first set of rules for Online Safety law

    RELATED POSTS

    Scientists are closer than ever to understanding the power of the vagus nerve

    August 11, 2026

    A California Program Is Bringing Down the Cost of Heat Pumps by Buying Bulk

    August 11, 2026

    World ocean temperatures hit extreme new record for July

    August 10, 2026

    Spokane Shows What the New Era of Wildfires Looks Like

    August 10, 2026

    Europe’s wildfires are igniting forgotten WWII and Cold War bombs

    August 9, 2026

    Here Are the First Images of the Crater Left on the Moon by SpaceX’s Rocket

    August 9, 2026
    latest posts

    Ryan Beatty on Beyonce, Songwriting, His Boyfriend & ‘Sweet Fortune’

    It’s the kind of day in Manhattan where subway stations turn into saunas, the air…

    Germany weighs options as low water levels trigger price surges

    August 11, 2026

    Trump Falls Asleep In Front Of Reporters, But Wakes Up Long Enough To Endanger Kids

    August 11, 2026

    Tulsa National Little League reinstated by Texas judge for Williamsport bid

    August 11, 2026

    Bumble ditches its rule that kept men from making the first move

    August 11, 2026

    Scientists are closer than ever to understanding the power of the vagus nerve

    August 11, 2026

    PlayStation Officially Announces New Hardware Alongside Impending Pre-Order Date

    August 11, 2026
    Categories
    • Books (1,419)
    • Business (6,323)
    • Cover Story (9)
    • Film (6,262)
    • Lifestyle (4,320)
    • Music (6,333)
    • Politics (6,306)
    • Science (5,672)
    • Technology (6,257)
    • Television (5,953)
    • Uncategorized (3)
    • US News (6,308)
    popular posts

    Ukrainian military reports more cross-border shelling and Russian attacks in Severodonetsk

    Turkish President Recep Tayyip Erdogan arrives for a ceremony in Ankara, Turkey on May 16.…

    F1 Actress Callie Cooke Female Lead In Keanu Reeves Sci-Fi Action

    March 5, 2026

    Detox Salad with Creamy Cashew Tamari Dressing

    January 14, 2025

    The Quest to Prove the Existence of a New Type of Quantum Particle

    May 25, 2025
    Archives
    Browse By Category
    • Books (1,419)
    • Business (6,323)
    • Cover Story (9)
    • Film (6,262)
    • Lifestyle (4,320)
    • Music (6,333)
    • Politics (6,306)
    • Science (5,672)
    • Technology (6,257)
    • Television (5,953)
    • Uncategorized (3)
    • US News (6,308)
    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

    Scientists are closer than ever to understanding the power of the vagus nerve

    August 11, 2026

    PlayStation Officially Announces New Hardware Alongside Impending Pre-Order Date

    August 11, 2026

    ‘Crystal Lake’ Creator Explains How Show Differs From ‘Friday the 13th’

    August 11, 2026
    © 2026 Beverly Hills Examiner. 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