ArticleslgStudy

computer science

Encryption software

Encryption software is a computer science topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Encryption software rather than just read about it. In short: Encryption software is software that uses cryptography to prevent unauthorized access to digital information. Cryptography is used to protect digital information stored on computers as well as information transmitted over computer networks such as the Internet.

Key takeaways

  • Encryption software belongs to computer science; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Encryption software to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Encryption software from memory before moving on to harder problems.

Reference excerpt

Encryption software is software that uses cryptography to prevent unauthorized access to digital information. Cryptography is used to protect digital information stored on computers as well as information transmitted over computer networks such as the Internet.

Classification Many software products provide encryption. Encryption software uses a cipher to transform plaintext into ciphertext. One way to classify this type of software is the type of cipher used. Ciphers can be divided into two categories: public key ciphers (also known as asymmetric ciphers), and symmetric key ciphers. Encryption software can be based on either public key or symmetric key encryption. Another way to classify software encryption is to categorize its purpose. Using this approach, software encryption may be classified into software which encrypts "data in transit" and software which encrypts "data at rest". Data in transit generally uses public key ciphers, and data at rest generally uses symmetric key ciphers. Symmetric key ciphers can be further divided into stream ciphers and block ciphers. Stream ciphers typically encrypt plaintext a bit or byte at a time, and are most commonly used to encrypt real-time communications, such as audio and video information. The key is used to establish the initial state of a keystream generator, and the output of that generator is used to encrypt the plaintext. Block cipher algorithms split the plaintext into fixed-size blocks and encrypt one block at a time. For example, AES processes 16-byte blocks, while its predecessor DES encrypted blocks of eight bytes.

Data in transit Data in transit is data that is being sent over a computer network. When the data is between two endpoints, any confidential information may be vulnerable. The payload (confidential information) can be encrypted to secure its confidentiality, as well as its integrity and validity. Often, the data in transit is between two entities that do not know each other - such as in the case of visiting a website. To establish trust and securely share encryption keys between parties, a framework of roles, policies, and procedures known as the public key infrastructure (PKI) has been developed. Once PKI has established a secure connection, a symmetric key can be shared between endpoints. A symmetric key is preferred over public-key encryption for bulk data transfer as a symmetric cipher is much more efficient (uses fewer CPU cycles) than an asymmetric cipher. There are several methods for encrypting data in transit, such as IPsec, SCP, SFTP, SSH, OpenPGP and HTTPS.

Data at rest Data at rest refers to data stored on persistent storage. Data at rest is generally encrypted by a symmetric key. Encryption may be applied at different layers in the storage stack. For example, encryption can be configured at the disk layer, on a subset of a disk called a partition, on a volume, which is a combination of disks or partitions, at the layer of a file system, or within user space applications such as database or other applications that run on the host operating system. With full disk encryption, the entire disk is encrypted (except for the bits necessary to boot or access the disk when not using an unencrypted boot/preboot partition). As disks can be partitioned into multiple partitions, partition encryption can be used to encrypt individual disk partitions. Volumes, created by combining two or more partitions, can be encrypted using volume encryption. File systems, also composed of one or more partitions, can be encrypted using filesystem-level encryption. A directory is considered encrypted when the files it contains are encrypted. File encryption encrypts a single file. Database encryption acts on the data to be stored, accepting unencrypted information and writing that information to persistent storage only after it has encrypted the data. Device-level encryption, a somewhat vague term that includes encryption-capable tape drives, can be used to offload the encryption tasks from the CPU.

Transit of data at rest When there is a need to securely transmit data at rest, without the ability to create a secure connection, user space tools have been developed that support this need. These tools rely upon the receiver publishing their public key, and the sender being able to obtain that public key. The sender is then able to create a symmetric key to encrypt the information, and then use the receiver's public key to securely protect the transmission of the information and the symmetric key. This allows secure transmission of information from one party to another.

Performance The performance of encryption software is measured relative to the speed of the CPU. Thus, cycles per byte (sometimes abbreviated cpb), a unit indicating the number of clock cycles a microprocessor will need per byte of data processed, is the usual unit of measurement. Cycles per byte serve as a partial indicator of real-world performance in cryptographic functions. Applications may offer their own encryption, often called native encryption, including database applications such as Microsoft SQL, Oracle, and MongoDB, and commonly rely on direct usage of CPU cycles for performance. This often impacts the desirability of encryption in businesses seeking greater security and ease of satisfying compliance by impacting the speed and scale of how data within organizations through to their partners.

See also Code as speech Cryptographic Protocol Public Key (Asymmetric) Algorithms Symmetric Algorithms Transport Layer Security Comparison of disk encryption software Ransomware: Malicious software using encryption

References

External links

Worked examples

Example 1 — a first encounter with Encryption software

Start with the simplest possible case. Write down what Encryption software claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In computer science, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Encryption software before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Encryption software ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Encryption software

In research
Encryption software appears in computer science research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Encryption software in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Encryption software is common in secondary-school and first-year university syllabi. It links to neighbouring topics Cryptographic software, so understanding it makes those chapters shorter.
In everyday life
Look for Encryption software outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “Encryption software” →

How to study Encryption software in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Encryption software means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Encryption software out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Encryption software in simple terms?

Encryption software is software that uses cryptography to prevent unauthorized access to digital information. Cryptography is used to protect digital information stored on computers as well as information transmitted over computer networks such as the Internet.

Why does Encryption software matter?

Because it connects several computer science ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Encryption software?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Encryption software.

Tags

  • Cryptographic software

Keep exploring