How Do Encryption Algorithms Work?
Encryption algorithms are mathematical formulas that transform plaintext into ciphertext. Plaintext is what the message looks like unaltered, but ciphertext scrambles the message to a point where its unreadableunless you have the right authorization to decrypt the code back into plaintext. Put simply, algorithms make encrypting and decrypting code possible, specifically between the correct users. These algorithms are written into software for computer systems and networks.
Before dissecting the different types of algorithms, lets review the difference between symmetric and asymmetric encryption.
When a message or file is encrypted, it can only be unscrambled and read if the receiver of the message has the correct password or code. Codes used to encrypt or decrypt are often referred to as keys, and without the proper cryptographic key, a recipient has no way of accessing an encrypted file.
With symmetric encryption, there is only one key that is used by both the owner and the recipient. Symmetric encryption uses either stream ciphers (encrypting bits of data one at a time) or block ciphers (encrypting a certain number of bits and grouping them into a single unit).
Think of it as sending someone a package thats locked. No one can open the package without the key, including hackers, but you also have to find a secure way to send or share the key. In the case of computers, both computers would need to have the key to open certain files.
One advantage of this type of encryption is how efficiently large amounts of data can be sent. Only having one key doesnt require as much mathematical computing. Symmetric encryption is also extremely secure if you have a trusted algorithm.
The issue with symmetric encryption is sharing the key with others without compromising security. If, for example, the owner of an encrypted file sends the key over email, a hacker can hack into their email and use the key to access shared information, defeating the purpose of encrypting something to begin with. The key is often shared in person to mitigate such risk, but this isnt always a realistic option for the extent of the internet. This issue calls for a key hierarchy or a way to manage the keys being used in huge bouts of data.
Asymmetric encryption, also known as public-key encryption, involves two keys. The key that encrypts a message or file is public, meaning it can be exchanged with anyone. However, the second key is private and is the only key that can decrypt the message or file.
Think of asymmetric encryption like a deposit box. Anyone can leave a letter, but only the owner of the private key can open the box to access the private information. This is most commonly used to exchange information and data on the internet.
The most obvious advantage of public-key encryption is its security and convenience. Instead of having a secret code that only two specific sources know, data can be safely exchanged with more people online. Asymmetric encryption also uses Public Key Infrastructure (PKI), which protects communications between the server and the client using digital certificates, which make it easier to verify that the recipient is coming from the correct sender.
The downside to asymmetric encryption is that the keys only go one direction, meaning a correspondence would require both parties to have their own set keys, one public and one private. In other words, every recipient needing to decrypt a message needs their own deposit box with a private key. Unlike symmetric encryption, the asymmetric encryption method is also more mathematically complex, which can slow down processing time.
With data being exchanged constantly online, both symmetric and asymmetric encryption is used today to verify, authenticate, and protect users. Depending on the level of security necessary, who needs access to data, the type of requests being made, etc., different encryption algorithms are better for certain scenarios. Some are more advanced than others, but the following systems are the most common and secure types of encryption.
One of the first main algorithms used was the Data Encryption Standard (DES), a type of symmetric encryption. It was the standard for electronic communications, but, though DES provided a solid foundation for encryption, it could be hacked in a matter of hours and couldnt keep up with modern computing.
Triple-DES was much more secure because it overcame the small keyspace of DES, and it eventually became the standard symmetric encryption algorithm for a time, specifically in the 1990s. It weaved its way into cryptographic protocols, too, such as SSH and TLS. Triple-DES (or 3DES) uses the cipher of DES three times over to encrypt data, which allows for multiple key lengths despite only using 56-bit keys.
Features
Triple-DES is one of the most efficient algorithms to implement. In its prime, 3DES changed security and helped resolve some of the biggest security leaks of DES. It still works for some hardware security encryptions.
In the face of more secure encryption algorithms, Triple-DES is becoming more and more obsolete. Though it can compute more than DES, 3DES can only work with 64-bit blocks, which doesnt keep up with most modern organizations. Most big companies and organizations use different symmetric encryption methods.
During the peak of Triple-DES use, big names like Microsoft and Firefox used Triple-DES for data security. Financial, payment, and other private services still use Triple-DES, though its unlikely they will continue using it.
The Advanced Encryption Standard (AES) is a type of symmetric encryption that is considered both the most unbreakable algorithm and the global standard of security. AES dethroned Triple-DES due to its higher computing capabilities and advanced security.
Features
There are no guarantees in the cyberworld, but to date, AES has yet to be cracked as far as anyone knows. With the ability to use a 256-bit key length, its one of the most secure forms of encryption. In fact, it would take billions of years to crack even a 128-bit encryption.
Even though its more powerful than both DES and Triple-DES, it is a bit harder to implement. Its also slower due to the key size, which can sometimes hinder communication.
The U.S. government uses this algorithm to keep all sorts of information private and secure. From government computers to cybersecurity, AES is an essential tool for keeping data classified. AES is truthfully used everywhere: solid-state drives (SSDs), WiFi in local area networks, cloud storage, internet browsers, and more.
Rivest-Shamir-Adleman (RSA) is a public-key encryption algorithm and is the primary way data is securely sent over the internet. As an asymmetric encryption method, RSA uses two keys, one for public encryption and one for private decryption. A defining element of RSA is how the algorithm is used: by factoring prime numbers.
Features
This is the best system for communicating with others online, especially when exchanging potentially sensitive information. Its especially used to verify digital signatures. Its easy to implement and sharing public keys to online users is relatively easy.
Because RSA is an asymmetric algorithm, its notably slower in comparison to symmetric encryption. It also requires more power compared to single-key encryption. Plus, though its great for security, if the private key is lost, the data cannot be decrypted.
RSA is used all over online, including web browsers, VPNs, emails, chats, and other communication servers.
Venafi is the leader of machine identity management and works behind the scenes to secure some of the largest networks in the world. Our technology protects cryptographic keys and digital certificates so that your business can safely succeed.
The machines used to communicate, streamline and process data are immensely helpful, but also at immense risk. Leaving machine communications unprotected leaves confidential and classified information unprotected, too. Thats why you need to efficiently manage the identities of all machines, which is why Venafi exists.
Want to learn more about how you can reduce risk at your organization? Download the Machine Identity Management for dummies Guide.
Read the original here:
Types of Encryption Algorithms - Security Boulevard
- WhatsApp overhauling status tab with encrypted Snapchat Stories-like feature - 9 to 5 Mac [Last Updated On: February 21st, 2017] [Originally Added On: February 21st, 2017]
- GOP demands inquiry into EPA use of encrypted messaging apps - CNET [Last Updated On: February 21st, 2017] [Originally Added On: February 21st, 2017]
- Encryption Apps Help White House Staffers Leakand Maybe Break the Law - WIRED [Last Updated On: February 21st, 2017] [Originally Added On: February 21st, 2017]
- World Wide Web Creator Calls for Internet Decentralization & Encryption - The Data Center Journal [Last Updated On: February 21st, 2017] [Originally Added On: February 21st, 2017]
- What It Means to Have an 'Adult' Conversation on Encryption - Pacific Standard [Last Updated On: February 21st, 2017] [Originally Added On: February 21st, 2017]
- Confide in me! Encryption app leaks sensitive info from Washington DC - SC Magazine UK [Last Updated On: February 21st, 2017] [Originally Added On: February 21st, 2017]
- Gmail v7.2 Prepares to Add Support for S/MIME Enhanced Encryption - XDA Developers (blog) [Last Updated On: February 26th, 2017] [Originally Added On: February 26th, 2017]
- Top 6 Data Encryption Solutions - The Merkle [Last Updated On: February 26th, 2017] [Originally Added On: February 26th, 2017]
- Your Guide to the Encryption Debate - Consumer Reports - ConsumerReports.org [Last Updated On: February 26th, 2017] [Originally Added On: February 26th, 2017]
- Google helps put aging SHA-1 encryption out to pasture - Engadget [Last Updated On: February 26th, 2017] [Originally Added On: February 26th, 2017]
- Decipher your Encryption Challenges - Infosecurity Magazine [Last Updated On: February 28th, 2017] [Originally Added On: February 28th, 2017]
- How the Politics of Encryption Affects Government Adoption - Freedom to Tinker [Last Updated On: February 28th, 2017] [Originally Added On: February 28th, 2017]
- How Encryption Makes Your Sensitive Cloud-Based Data an Asset, Not a Liability - Security Intelligence (blog) [Last Updated On: February 28th, 2017] [Originally Added On: February 28th, 2017]
- Set up VMware VM Encryption for hypervisor-level security - TechTarget [Last Updated On: February 28th, 2017] [Originally Added On: February 28th, 2017]
- How The Media Are Using Encryption Tools To Collect Anonymous Tips - NPR [Last Updated On: February 28th, 2017] [Originally Added On: February 28th, 2017]
- Encryption patent that roiled Newegg is dead on appeal | Ars Technica - Ars Technica [Last Updated On: February 28th, 2017] [Originally Added On: February 28th, 2017]
- Research proposes 'full-journey' email encryption - The Stack [Last Updated On: March 1st, 2017] [Originally Added On: March 1st, 2017]
- Database-as-a-service platform introduces encryption-at-rest - BetaNews [Last Updated On: March 1st, 2017] [Originally Added On: March 1st, 2017]
- Encrypted Messaging Service 'Signal' Adds Video Call Option - Top Tech News [Last Updated On: March 2nd, 2017] [Originally Added On: March 2nd, 2017]
- Germany, France lobby hard for terror-busting encryption backdoors ... - The Register [Last Updated On: March 2nd, 2017] [Originally Added On: March 2nd, 2017]
- How to Send Encrypted Nudes, a Guide for the Discerning Lover - Inverse [Last Updated On: March 2nd, 2017] [Originally Added On: March 2nd, 2017]
- Ironclad Encryption Corporation Announces New Ticker Symbol OTCQB: IRNC - Yahoo Finance [Last Updated On: March 2nd, 2017] [Originally Added On: March 2nd, 2017]
- The Best Email Encryption Software of 2017 | Top Ten Reviews [Last Updated On: March 2nd, 2017] [Originally Added On: March 2nd, 2017]
- No, you shouldn't delete Signal or other encrypted apps - TechCrunch [Last Updated On: March 11th, 2017] [Originally Added On: March 11th, 2017]
- Best encryption software: Top 5 - Computer Business Review [Last Updated On: March 11th, 2017] [Originally Added On: March 11th, 2017]
- Encryption Backdoors, Vault 7, and the Jurassic Park Rule of Internet Security - Just Security [Last Updated On: March 11th, 2017] [Originally Added On: March 11th, 2017]
- That Encrypted Chat App the White House Liked? Full of Holes - WIRED [Last Updated On: March 11th, 2017] [Originally Added On: March 11th, 2017]
- What the CIA WikiLeaks Dump Tells Us: Encryption Works - New York Times [Last Updated On: March 11th, 2017] [Originally Added On: March 11th, 2017]
- Snake-Oil Alert Encryption Does Not Prevent Mass-Snooping - Center for Research on Globalization [Last Updated On: March 11th, 2017] [Originally Added On: March 11th, 2017]
- Customer Letter - Apple [Last Updated On: March 11th, 2017] [Originally Added On: March 11th, 2017]
- Don't Let WikiLeaks Scare You Off of Signal and Other Encrypted Chat Apps - WIRED [Last Updated On: March 12th, 2017] [Originally Added On: March 12th, 2017]
- BT to offer customers encryption service for data - Capacity Media (registration) [Last Updated On: March 12th, 2017] [Originally Added On: March 12th, 2017]
- Encryption - technet.microsoft.com [Last Updated On: March 12th, 2017] [Originally Added On: March 12th, 2017]
- Use FileVault to encrypt the startup disk on ... - Apple Support [Last Updated On: March 12th, 2017] [Originally Added On: March 12th, 2017]
- Viber launches secret chats to go beyond encryption - SlashGear [Last Updated On: March 13th, 2017] [Originally Added On: March 13th, 2017]
- Zix wins 5-vendor email encryption shootout - Network World [Last Updated On: March 13th, 2017] [Originally Added On: March 13th, 2017]
- A lesson from the CIA WikiLeaks dump: Encryption works - The Seattle Times [Last Updated On: March 13th, 2017] [Originally Added On: March 13th, 2017]
- What the CIA WikiLeaks Dump Tells Us: Encryption Works - NewsFactor Network [Last Updated On: March 18th, 2017] [Originally Added On: March 18th, 2017]
- Panicked Secret Service Says It Lost Encrypted Laptop But It's Fine, Everything's Fine - Gizmodo [Last Updated On: March 18th, 2017] [Originally Added On: March 18th, 2017]
- Google Cloud adds new customer-supplied encryption key partners ... - ZDNet [Last Updated On: March 18th, 2017] [Originally Added On: March 18th, 2017]
- Preseeding Full Disk Encryption - Linux Journal [Last Updated On: March 18th, 2017] [Originally Added On: March 18th, 2017]
- Bypassing encryption: 'Lawful hacking' is the next frontier of law enforcement technology - Boston Business Journal [Last Updated On: March 18th, 2017] [Originally Added On: March 18th, 2017]
- SecurityBrief NZ - Gemalto introduces on-prem encryption key solution for 'highly regulated' organisations - SecurityBrief NZ [Last Updated On: March 21st, 2017] [Originally Added On: March 21st, 2017]
- 'Always Be Concerned': US Court Slaps Down Fifth Amendment Defense of Encryption - Sputnik International [Last Updated On: March 21st, 2017] [Originally Added On: March 21st, 2017]
- Quantum Key System Uses Unbreakable Light-Based Encryption to Secure Data - Photonics.com [Last Updated On: March 21st, 2017] [Originally Added On: March 21st, 2017]
- Wikileaks Only Told You Half The Story -- Why Encryption Matters More Than Ever - Forbes [Last Updated On: March 21st, 2017] [Originally Added On: March 21st, 2017]
- EPA Sued For Withholding Info On Encrypted Text Messages | The ... - Daily Caller [Last Updated On: March 22nd, 2017] [Originally Added On: March 22nd, 2017]
- Opinion Data encryption efforts ramp up in face of growing security threats - Information Management [Last Updated On: March 22nd, 2017] [Originally Added On: March 22nd, 2017]
- Bypassing encryption: Lawful hacking is the next frontier of law enforcement technology - Salon [Last Updated On: March 22nd, 2017] [Originally Added On: March 22nd, 2017]
- NeuVector Announces Container Visualization, Encryption, and Security Solution for NGINX Plus - DABCC.com [Last Updated On: March 23rd, 2017] [Originally Added On: March 23rd, 2017]
- Is encryption one of the required HIPAA implementation specifications? - TechTarget [Last Updated On: March 23rd, 2017] [Originally Added On: March 23rd, 2017]
- Paper Spells Out Tech, Legal Options for Encryption Workarounds - Threatpost [Last Updated On: March 23rd, 2017] [Originally Added On: March 23rd, 2017]
- Encryption debate needs to be nuanced, says FBI's Comey - TechTarget [Last Updated On: March 25th, 2017] [Originally Added On: March 25th, 2017]
- Comey Renews Debate Over Encryption - 550 KTSA [Last Updated On: March 25th, 2017] [Originally Added On: March 25th, 2017]
- UK minister says encryption on messaging services is unacceptable - Reuters [Last Updated On: March 28th, 2017] [Originally Added On: March 28th, 2017]
- The why and how of encrypting files on your Android smartphone - Phoenix Sun [Last Updated On: March 28th, 2017] [Originally Added On: March 28th, 2017]
- UK targets WhatsApp encryption after London attack - Yahoo News [Last Updated On: March 28th, 2017] [Originally Added On: March 28th, 2017]
- Critical flaw alert! Stop using JSON encryption | InfoWorld - InfoWorld [Last Updated On: March 28th, 2017] [Originally Added On: March 28th, 2017]
- SecureMyEmail is email encryption for everyone - TechRepublic - TechRepublic [Last Updated On: March 28th, 2017] [Originally Added On: March 28th, 2017]
- Apple iOS 10.3 will introduce encryption which makes it MORE difficult for cops and spooks to crack into ISIS nuts ... - The Sun [Last Updated On: March 29th, 2017] [Originally Added On: March 29th, 2017]
- How to Analyze An Encryption Access Proposal - Freedom to Tinker [Last Updated On: March 29th, 2017] [Originally Added On: March 29th, 2017]
- Questions for the FBI on Encryption Mandates - Freedom to Tinker [Last Updated On: March 29th, 2017] [Originally Added On: March 29th, 2017]
- Justice Department anti-terror chief keeps pressing on encryption - Politico (blog) [Last Updated On: March 29th, 2017] [Originally Added On: March 29th, 2017]
- UK government can force encryption removal, but fears losing, experts say - The Guardian [Last Updated On: March 29th, 2017] [Originally Added On: March 29th, 2017]
- Encryption FAQs [Last Updated On: March 29th, 2017] [Originally Added On: March 29th, 2017]
- Why isn't US military email protected by standard encryption tech? - Naked Security [Last Updated On: April 9th, 2017] [Originally Added On: April 9th, 2017]
- How have ARM TrustZone flaws affected Android encryption? - TechTarget [Last Updated On: April 9th, 2017] [Originally Added On: April 9th, 2017]
- Keeping the enterprise secure in the age of mass encryption - Information Age [Last Updated On: April 9th, 2017] [Originally Added On: April 9th, 2017]
- Lack of encryption led to Dallas siren hack - WFAA [Last Updated On: April 12th, 2017] [Originally Added On: April 12th, 2017]
- Internet Society tells G20 nations: The web must be fully encrypted - The Register [Last Updated On: April 12th, 2017] [Originally Added On: April 12th, 2017]
- Make Encryption Ubiquitous, Says Internet Society - Infosecurity ... - Infosecurity Magazine [Last Updated On: April 12th, 2017] [Originally Added On: April 12th, 2017]
- Can we encrypt the web while giving governments a backdoor to snoop? - SC Magazine UK [Last Updated On: April 12th, 2017] [Originally Added On: April 12th, 2017]
- Why we need to encrypt everything - InfoWorld [Last Updated On: April 12th, 2017] [Originally Added On: April 12th, 2017]
- Hacked Dallas sirens get extra encryption to fend off future attacks - Computerworld [Last Updated On: April 12th, 2017] [Originally Added On: April 12th, 2017]
- SHA-1 Encryption Has Been Broken: Now What? - Forbes [Last Updated On: April 14th, 2017] [Originally Added On: April 14th, 2017]
- Hewlett Packard Enterprise touts encryption tool for federal clients - The Hill [Last Updated On: April 14th, 2017] [Originally Added On: April 14th, 2017]
- Encryption on the Rise in Age of Cloud - Infosecurity Magazine - Infosecurity Magazine [Last Updated On: April 14th, 2017] [Originally Added On: April 14th, 2017]
- Lawmaker Pushes Bill That Requires Encryption by Pennsylvania State Employees - Government Technology [Last Updated On: April 14th, 2017] [Originally Added On: April 14th, 2017]
- Disk encryption - Wikipedia [Last Updated On: April 14th, 2017] [Originally Added On: April 14th, 2017]
- The apps to use if you want to keep your messages private - Recode [Last Updated On: April 15th, 2017] [Originally Added On: April 15th, 2017]