2080 11

CSC114 ยท 2080 ยท 5 marks

Define cryptography. Why do we use firewall?

Define cryptography. Why do we use firewall? [5]

Introduction to Information TechnologyChapter 11: Computer SecuritySecurity Mechanisms

Quick answer

Cryptography is the art of protecting information by transforming it (encrypting it) into an unreadable format called cipher text.

Cryptography and Firewall


1. Cryptography (Definition)

  • Only those who possess a secret key can decrypt the message back into readable plain text.
  • It is used as a core security mechanism -- a technical tool and technique used to implement security services.

Key Concepts in Cryptography:

TermDescription
Plain TextOriginal readable message
Cipher TextEncrypted, unreadable form of the message
Secret Key (Private Key)A variable used with an algorithm to both encrypt and decrypt data; used in symmetric cryptography
Public KeyA variable used with an algorithm to decrypt code; used in asymmetric cryptography
Hash FunctionA mathematical function that converts a numerical input of arbitrary length into a fixed-length compressed output
Digital SignatureA security mechanism used to verify the authenticity and integrity of a message

2. Why Do We Use a Firewall?

A firewall is a network security system that monitors and controls incoming and outgoing network traffic based on predetermined security rules.

We use a firewall because:

  • It establishes a barrier between a trusted internal network and an untrusted external network (such as the Internet), preventing unauthorized access.
  • It protects systems from malicious attacks, hackers, and unauthorized intrusions.
  • It filters network traffic based on defined security rules, allowing only legitimate communication.

Types of Firewalls:

1. Hardware Firewall:

  • A physical device installed between the modem and the computer.
  • Protects an entire network.
  • Usually more expensive and harder to configure.
  • Examples: Cisco PIX, Watchguard, Netscreen

2. Software Firewall:

  • A software application installed on the computer system to be protected.
  • Protects a single computer.
  • Usually less expensive and easier to configure.
  • Examples: Norton Internet Security, McAfee Security

In summary: Cryptography secures data by making it unreadable to unauthorized users, while a firewall secures a network by controlling what traffic is allowed in or out -- both are essential components of information security.

Short on time? The 1, 5 and 10 mark versions of this answer, flashcards and practice sets come with a program pass.