Close Menu
Beverly Hills Examiner

    Subscribe to Updates

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

    What's Hot

    Anthropic shares fall below IPO price, a worrying sign for AI startups | TechCrunch

    November 24, 2026

    From losing it all to a $1 billion valuation: How Motorways CEO bounced back from failure | Fortune

    November 24, 2026

    Heres How to Watch ESPN Online for Free

    November 24, 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

    [ad_1]

    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.

    [ad_2]

    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

    Voyager 1 Beat the Odds and Is Still Working a Light-Day Away From Earth

    November 18, 2026

    The Dark Side of the Moon Was the Brightest Part of 2026

    November 17, 2026

    Just 400 US Data Centers Use More Electricity Than Michigan

    November 16, 2026

    The EPAs Chemical-Detecting Plane Isnt Doing Its Job Anymore

    November 16, 2026

    Its Getting Too Dry for Even Cactuses to Survive

    November 15, 2026

    New Species of Giant Fungus Discovered in China Grows up to 20 Inches Tall

    November 15, 2026
    latest posts

    Anthropic shares fall below IPO price, a worrying sign for AI startups | TechCrunch

    Anthropic’s stock fell below its IPO price of $83, trading as low as $76 a…

    From losing it all to a $1 billion valuation: How Motorways CEO bounced back from failure | Fortune

    November 24, 2026

    Heres How to Watch ESPN Online for Free

    November 24, 2026

    I See Buildings Fall Like Lightning Tops British Independent Film Awards Craft Winners

    November 24, 2026

    Anthropics IPO is a bellwether—and a warning | Fortune

    November 24, 2026

    Figma employee sues, alleging company forced her to confront harassers | TechCrunch

    November 24, 2026

    Adéla Announces 2027 World Tour

    November 23, 2026
    Categories
    • Books (1,626)
    • Business (6,532)
    • Cover Story (18)
    • Film (6,466)
    • Lifestyle (4,502)
    • Music (6,542)
    • Politics (6,517)
    • Science (5,872)
    • Technology (6,470)
    • Television (6,164)
    • Uncategorized (3)
    • US News (6,515)
    popular posts

    Ultra-processed foods have a bad reputation – is it backed by science?

    [ad_1] Ultra-processed foods have a bad reputation, but is it fully justified?Shutterstock/ShutterOK Common dietary advice…

    Sharks aren’t silent after all

    March 26, 2025

    Republicans Are Not Doing Well In The Biggest Senate Races

    August 21, 2022

    10 Things Redditors Want To See In The Jon Snow Spinoff

    July 17, 2022
    Archives
    Browse By Category
    • Books (1,626)
    • Business (6,532)
    • Cover Story (18)
    • Film (6,466)
    • Lifestyle (4,502)
    • Music (6,542)
    • Politics (6,517)
    • Science (5,872)
    • Technology (6,470)
    • Television (6,164)
    • Uncategorized (3)
    • US News (6,515)
    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

    Figma employee sues, alleging company forced her to confront harassers | TechCrunch

    November 24, 2026

    Adéla Announces 2027 World Tour

    November 23, 2026

    The Most Popular Native American Books on Libby

    November 23, 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