Close Menu
  • Home
  • Articles
    • Attacks
      • BEC
      • Data Breach
      • DDoS
      • Evasion Attacks
      • Injection
      • Malware
      • MITM
      • Phishing
      • Ransomware
      • RCE
      • Social Engineering
      • Spoofing
      • Spyware
    • Business and Policy
      • BCP and DRP
      • GRC
      • Regulations
    • Data Protection
      • DLP
      • DRM
      • Encryption
      • IAM
    • Future, Trends and Insight
      • AI
      • Events & Community
      • Emerging Tech
      • Expert Panel
      • Interviews With Experts
      • Insights
      • Study & Research
    • Resources
      • Guides
      • Tools
      • Training & Education
    • Security
      • API
      • Apps
      • Cloud
      • Critical Infrastructure
      • Endpoint
      • Hardware
      • IoT
      • Mobile
      • Network
      • OT
      • Port Security
      • Security Architecture
      • Software Development
      • Supply Chain
      • Zero Trust
    • Threats and Vulnerabilities
      • Emerging Threats
      • Insider Threats
      • Risk Management
      • Threat Intelligence
      • Zero Day
  • News and Exclusives
    • Latest News
    • ISB Exclusive
    • Positive News
  • Who We Are
    • About Us
    • Information Security Buzz Expert Panel​
    • Write for Us
    • Media Pack
  • Contact Us
  • Newsletter
Facebook X (Twitter) LinkedIn
Facebook X (Twitter) LinkedIn
Information Security BuzzInformation Security Buzz
  • Home
  • Articles
    • Attacks
      • BEC
      • Data Breach
      • DDoS
      • Evasion Attacks
      • Injection
      • Malware
      • MITM
      • Phishing
      • Ransomware
      • RCE
      • Social Engineering
      • Spoofing
      • Spyware
    • Business and Policy
      • BCP and DRP
      • GRC
      • Regulations
    • Data Protection
      • DLP
      • DRM
      • Encryption
      • IAM
    • Future, Trends and Insight
      • AI
      • Events & Community
      • Emerging Tech
      • Expert Panel
      • Interviews With Experts
      • Insights
      • Study & Research
    • Resources
      • Guides
      • Tools
      • Training & Education
    • Security
      • API
      • Apps
      • Cloud
      • Critical Infrastructure
      • Endpoint
      • Hardware
      • IoT
      • Mobile
      • Network
      • OT
      • Port Security
      • Security Architecture
      • Software Development
      • Supply Chain
      • Zero Trust
    • Threats and Vulnerabilities
      • Emerging Threats
      • Insider Threats
      • Risk Management
      • Threat Intelligence
      • Zero Day
  • News and Exclusives
    • Latest News
    • ISB Exclusive
    • Positive News
  • Who We Are
    • About Us
    • Information Security Buzz Expert Panel​
    • Write for Us
    • Media Pack
  • Contact Us
  • Newsletter
Subscribe
Information Security BuzzInformation Security Buzz
Home - Articles - How Google Uses AI To Encrypt Files
Articles

How Google Uses AI To Encrypt Files

ISBuzz TeamBy ISBuzz TeamDecember 1, 2016Updated:December 4, 20246 Mins Read
Share LinkedIn Twitter Facebook Copy Link Email
Share
Facebook Twitter LinkedIn Email Copy Link
Quick AI Summary
ChatGPTClaudeGeminiGrokPerplexityDeepSeekCopilot

During World War Two, Germans used a device called an Enigma machine to encrypt messages that were sent to and from their U-boats. With a simple key, they could turn readable messages (written in plaintext) into unreadable messages (ciphertext). These messages could then be decrypted with a reversal process, so they could be read by Germans.

IMAGE – Enigma Machine uses electricity and gears to encrypt messages

The United States was able to intercept the encrypted messages and understood how to decrypt them, but when the Germans began changing out the cipher system daily, it became nearly impossible to do all the calculations to decipher the messages within a day. Since these machines could be set up in 158 Sextillion (158,962,555,217,826,360,000 to be precise) different combinations, the Germans figured that it was an unbreakable code.

So, in 1939, the United States government hired Alan Turing to decipher the Enigma code. In order to solve the problem before the war ended, Turing built a machine known as the Bombe, which was able to find a flaw in the Enigma machine.

VIDEO – Finding the flaw in the Enigma machine.

After years of work, the machine was finally able to break the Enigma code and help the allies to victory. This machine is sometimes referred to as the first computer.

IMAGE – A reproduction of Turing’s Bombe machine built from his blueprints

Now, a team at Google is trying to create a new kind of enigma machine using a very different device: their artificial intelligence (AI) program. The team has already shown that they can make an advanced encryption, which becomes more difficult to crack the more times a hacker attempts to break the code.

These days, encryption involves using a complex algorithm as a key, but with Google Brain is actually using an artificial neural network (ANN) to decide how to handle each and every step of the encryption. These neural networks are specifically designed to simulate the structure of a human brain by using silicon and wires in the same way that our brains use neurons and dendrites. With this structure, ANNs have been shown to learn from their past mistakes.

The Google Brain team began their encryption experiment with three separate neural networks, which they called Alice, Bob, and Eve. Each of the neural networks was given a different objective (depicted in the image below)

IMAGE – A diagram that details the tests that Google’s ANNs were put through

First, Alice would be given a 16 digit code written in plaintext [P], which it would then encrypt into a ciphertext [C]. Alice would then send the encrypted message [C] to Bob, and Eve, who are both trying to decrypt that message and bring it back to the original plaintext [P].

Alice and Bob started out with an advantage over Eve, because they both shared a secret key [K] with each other. This key is similar to the one used with the enigma machine; it allowed Germans on either side of a communication to decrypt messages without a third party being able to decipher them.

In these tests, Eve was only a “passive attacker,” which means it could only intercept the message, without the ability to initiate, inject, or modify any messages. Eve’s only goal in the experiment was to minimize the error between the original message [P] and its deciphered guess [PEve]. While Bob’s goal was to minimize the error between [P] and [PBob] but, at the same time, Bob was also trying to stop Eve from achieving her goal. If Eve’s guess was better than Bob’s decryption, it would be considered a loss. Or, if Eve was able to guess better than random, it was also considered a loss.

That is all the experiment consisted of. There were no other instructions given to any of the ANNs. And since the team did not provide any specific instructions or even any indication on how to apply algorithms to encrypt the messages, they showed that their neural networks were able to learn how to encrypt and decrypt messages without any further supervision. They also showed that ANNs can learn how to encrypt messages that other ANNs cannot learn to decrypt. Basically, they have made an enigma machine that cannot be cracked.

If you look at the first tests that were performed, Eve was able to decrypt the messages with the same rate of accuracy as Bob. After a period of time, Alice and Bob were able to refine their methods until Eve could not decrypt any messages at all.

IMAGE – The evolution of the ANNs errors over thousands of tests.
Each point in the graph above shows the error rate over thousands of different tests. Since the messages were written in binary, the average error rate from Bob and Eve is 8 right and 8 wrong. That is that is the same success rate you would expect from the flip of a coin. But, then, somewhere before step 10,000, Alice and Bob begin to learn from each other.

Soon, they are able to find an encryption that dropped Bob’s error rate to 0, while still keeping Eve’s error rate stable. Then, by step 15,000, Alice and Bob were able to achieve a perfect score consistently.

The dynamics of this test do not look like they were the result of a human engineer, they are, instead, more reminiscent of evolutionary processes. As they got more practice, Alice slowly developed a unique encryption strategy, and Bob worked out how to decrypt it.

In some tests, Eve was able to show an improvement over, but Alice and Bob were able to quickly improve their encryption technique until Eve’s success rate went down to 0 again.

By using this approach, it means that communication can eventually be secured without a prescribed set of algorithms. This means that two computers working together can self-generate encryptions that are so difficult that no human or machine would ever be able to crack them. Then, those machines could instantly discard that encryption for another one.

WHAT IT MEANS FOR FUTURE APPLICATIONS

Encryption is not only used for warfare anymore, it has become a part of our everyday life. Hackers and other criminals have been able to steal information from anyone.

That is why it is so important to use encryption to keep your communications and other data safe. Soon, we may start to see ANNs being able to protect all sorts of data with unbreakable encryptions, which would allow for a sense of regained privacy.

If you are worried about protecting your data, you can always a colocation provider, they will usually encrypt your data to keep it safe from any interceptions.

[su_box title=”About Gabriel Bly” style=”noise” box_color=”#336588″][short_info id=’98414′ desc=”true” all=”false”][/su_box]

ISBuzz Team
  • ISBuzz Team
    Air Canada Data Breach: BianLian Extortion Group Claims A Massive Heist Contrary To Airline’s Earlier Statement
  • ISBuzz Team
    Unprecedented DDoS Attack Rocks The Web: Tech Giants Reveal A Digital Tsunami
  • ISBuzz Team
    CISA Flags High-Severity Adobe Acrobat Reader Flaw Amid Active Exploits
  • ISBuzz Team
    Curl Security Alert: Patching A Critical Bug Averting Potential Cyber Catastrophe

The opinions expressed in this post belong to the individual contributors and do not necessarily reflect the views of Information Security Buzz.

Share. Facebook Twitter LinkedIn Email Copy Link

Related Posts

Visual data is the blind spot in enterprise security: that’s about to change

May 4, 20267 Mins Read

Making stolen data worthless: why security must start with the data

March 30, 20265 Mins Read

Meta’s Smart Glasses Privacy Scandal Expands After Sama Credentials Found on the Dark Web

March 10, 20264 Mins Read
ISB-Bora-Side-Bar

No se ha podido establecer conexión. Error 429

 
ISB-Bora-Side-Bar
Black ISB Logo

Information Security Buzz is an independent resource that provides the experts’ comments, analysis, and opinion on the latest Cybersecurity news and topics

X (Twitter) LinkedIn Facebook RSS

Working With Us

  • About Us
  • Advertise With Us
  • Contact Us

Write For Us

  • How To Contribute

The Pages

  • Privacy Policy
  • Cookie Policy
  • AI Policy
  • Terms & Conditions
  • Copyright Notice

Information Security Buzz and all its contents are copyright © 2014-2025. All rights reserved. All third-party trademarks are recognized.

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

Manage Consent
To provide the best experiences, we use technologies like cookies to store and/or access device information. Consenting to these technologies will allow us to process data such as browsing behavior or unique IDs on this site. Not consenting or withdrawing consent, may adversely affect certain features and functions.
Functional Always active
The technical storage or access is strictly necessary for the legitimate purpose of enabling the use of a specific service explicitly requested by the subscriber or user, or for the sole purpose of carrying out the transmission of a communication over an electronic communications network.
Preferences
The technical storage or access is necessary for the legitimate purpose of storing preferences that are not requested by the subscriber or user.
Statistics
The technical storage or access that is used exclusively for statistical purposes. The technical storage or access that is used exclusively for anonymous statistical purposes. Without a subpoena, voluntary compliance on the part of your Internet Service Provider, or additional records from a third party, information stored or retrieved for this purpose alone cannot usually be used to identify you.
Marketing
The technical storage or access is required to create user profiles to send advertising, or to track the user on a website or across several websites for similar marketing purposes.
  • Manage options
  • Manage services
  • Manage {vendor_count} vendors
  • Read more about these purposes
View preferences
  • {title}
  • {title}
  • {title}