CampusLearn
← CSC 412 Information Systems Security

Applied Cryptography and Public Key Infrastructure in Enterprise Systems

Notes

Cryptographic Foundations Cryptography protects digital assets by transforming human-readable plaintext into unreadable ciphertext. Cryptographic primitives are divided into symmetric ciphers, asymmetric ciphers, and cryptographic hashing algorithms. Symmetric encryption algorithms, such as the Advanced Encryption Standard with 128-bit or 256-bit keys, utilize a single shared key for both encryption and decryption. Symmetric ciphers provide high computational throughput and are ideal for bulk storage protection and high-volume data streams. Asymmetric Cryptography and Digital Signatures Asymmetric encryption overcomes the key distribution bottleneck inherent in symmetric systems by deploying key pairs consisting of a mathematically linked public key and private key. Common implementations include Rivest-Shamir-Adleman and Elliptic Curve Cryptography. While the public key is freely distributed for encryption and signature verification, the private key remains closely guarded by its owner to perform decryption and signature generation. Cryptographic hash functions such as SHA-256 produce deterministic, fixed-size digests of arbitrary inputs, ensuring one-way integrity validation. When combined with asymmetric keys, hashing enables digital signatures that guarantee authenticity, integrity, and non-repudiation. Public Key Infrastructure Public Key Infrastructure provides the hardware, software, policies, and procedural foundation required to create, distribute, manage, and revoke X.509 digital certificates. A trusted Certificate Authority cryptographically signs certificates, binding individual identities, domain names, or network appliances to specific public keys. Trust chains propagate from Root CAs down to intermediate CAs and end-entity certificates. Transport Layer Security utilizes this infrastructure to authenticate remote servers and establish ephemeral symmetric session keys using Diffie-Hellman key exchanges for secure network communications. Practical example Consider a Kenyan retail supermarket integration with the Safaricom M-Pesa Daraja Application Programming Interface. To initiate Business-to-Customer loan disbursements, the supermarket backend server must authenticate securely. The developer cannot send raw merchant credentials across the public internet. Instead, the merchant generates an RSA 2048-bit key pair. The merchant encrypts their API password using Safaricom's published public X.509 certificate. During the Transport Layer Security handshake, the client verifies the validity of the Daraja server certificate against pre-installed public trust anchors. Furthermore, the merchant uses SHA-256 hashing to generate a unique digital signature for each transaction payload, ensuring that man-in-the-middle attackers along Kenyan internet service provider networks cannot alter payout sums or recipient phone numbers without invalidating the cryptographic signature.

Quiz

1. Why is Elliptic Curve Cryptography frequently preferred over legacy RSA in mobile and embedded enterprise applications?

2. Which cryptographic property ensures that a sender cannot falsely claim they did not generate and transmit a specific payload?

3. What is the primary role of a Certificate Authority within an enterprise Public Key Infrastructure?

Sign in to submit and securely grade your quiz.