Skip main navigation

Get 30% off one whole year of Unlimited learning. Subscribe for just £249.99 £174.99. T&Cs apply

Cryptography in the age of Artificial Intelligence

What is artificial intelligence? What are the opportunities and risks associated with artificial intelligence in cryptography?

What is Artificial Intelligence?

Artificial Intelligence (AI) refers to the ability of machines or computer systems to perform tasks that typically require human intelligence. This includes things like understanding language, recognising images, making decisions, and learning from experience. AI works by using large amounts of data and smart algorithms to find patterns and make predictions or choices.

In everyday life, AI is already all around us. It powers voice assistants like Siri and Alexa, recommends films and songs on Netflix or Spotify, helps doctors analyse medical scans, and even drives some modern cars. AI is also used in customer service chatbots, fraud detection in banking, and personalised online shopping experiences. As the technology advances, it’s expected to play an even bigger role in areas like education, transport, and climate research.

How has Artificial Intelligence developed over the last 3 years?

Over the past three years, Artificial Intelligence has made extraordinary progress, especially with the rise of large language models (LLMs) like ChatGPT, Gemini, and Claude. These models can now understand and generate human-like language, analyse images, listen to speech, and even reason across multiple types of information at once—a capability known as multimodal AI. LLMs are being used in everything from customer support and education to writing, coding, and even legal analysis. Their ability to generate high-quality content and assist in complex decision-making has transformed industries and made AI tools part of everyday life for millions of people.

Beyond LLMs, other types of AI have also advanced rapidly. Generative AI models can now create realistic images, music, and video, opening new doors in entertainment, design, and marketing. In healthcare, AI is being used to analyse medical scans, predict disease risks, and accelerate drug discovery. One major breakthrough was the use of AI to predict millions of protein structures, helping scientists understand diseases and develop treatments more quickly. In environmental science, AI now supports early wildfire detection, improved weather forecasting, and climate modelling.

Robotics, too, has seen a leap forward. AI-driven robots can now walk, grasp, and adapt to human environments more naturally, with applications in manufacturing, logistics, and even home assistance. At the same time, AI systems have become more energy-efficient thanks to advances in specialised hardware. As these technologies become more powerful, governments and regulators around the world have also started to step in, introducing new rules to ensure AI is used safely and ethically. Overall, AI is no longer just a research topic—it’s a fast-growing force shaping science, society, and the global economy.

What potential impacts could Artificial Intelligence have on Cryptography?

Artificial Intelligence (AI) could have a major impact on cryptography—the technology that keeps our digital data private and secure. On one hand, AI might make it easier to break weak encryption by spotting patterns or flaws that humans might miss. For example, cybercriminals could potentially use AI to crack passwords faster or find shortcuts in older security systems. This raises concerns about the safety of personal data, financial transactions, and even national security if defences don’t keep pace with advancing AI.

On the other hand, AI can also improve cryptography. It can help security experts design stronger systems, automatically detect suspicious activity, and quickly patch vulnerabilities. For instance, AI is already used to monitor networks for signs of hacking and to block unusual login attempts. Looking ahead, AI might even help create smart security systems that learn and adapt over time—offering more personalised and robust protection for users and organisations alike.

Opportunities

AI offers exciting new possibilities for improving cryptography itself—the techniques used to protect data through codes and encryption. One major opportunity is using AI to analyse and test cryptographic algorithms more thoroughly and efficiently than humans can. AI can help uncover hidden weaknesses or patterns in encryption methods, making it easier for developers to strengthen them before they’re used in the real world. It can also assist in creating better random number generators, which are essential for producing secure cryptographic keys.

Looking ahead, AI could play a role in designing entirely new forms of encryption that adapt to different types of data or user behaviour. For example, AI might help develop personalised cryptographic systems that adjust based on how someone typically accesses information, adding an extra layer of protection. As encryption becomes more complex, AI can help manage that complexity, making advanced cryptographic tools more accessible and reliable. In short, AI has the potential to not just protect, but reinvent the way we encrypt and safeguard information in the digital age.

Risks

Artificial Intelligence (AI) presents real risks to cryptography by potentially making it easier to break or weaken encrypted systems. AI can analyse vast amounts of data quickly and detect patterns that humans might overlook. This means it could be used to guess passwords, identify flaws in encryption algorithms, or speed up attacks that try to uncover hidden information. As AI continues to improve, encryption methods that were once considered secure may no longer be strong enough, especially if they haven’t been updated or properly implemented.

Another risk is that AI can help cyber attackers become more efficient and precise. It can automate the process of finding weaknesses in systems or tricking users into revealing sensitive information—such as through more convincing fake emails or messages. While these attacks don’t always break encryption directly, they can make it easier to bypass it. Looking ahead, the combination of AI with emerging technologies like quantum computing could pose even greater challenges, as these tools might one day be capable of breaking many of today’s standard encryption techniques.

Summary

Artificial Intelligence (AI) is rapidly advancing and widely used in everyday life, transforming industries and improving tasks like language understanding and image recognition. In cryptography, AI offers both opportunities to strengthen data protection and risks by potentially making encryption easier to break, highlighting the need for ongoing innovation to keep information secure.

This article is from the free online

An Introduction to Cryptography

Created by
FutureLearn - Learning For Life