Cryptography
Cryptography is the practice and design of tools to secure communications in the presence of potential adversaries.
Introduction
Cryptographic transmissions are encrypted to ensure the security of a message while in transit across public communication channels such as the Internet. Encrypting the data makes it inaccessible to unauthorized recipients.
To keep the data inaccessible to those who shouldn’t have it. While still maintaining access for those that should. Most forms of Cryptography rely on keys to encrypt and decrypt messages.
Three common encryption models are:
- Secret Key Cryptography (SKC): Single key used to Encrypt and Decrypt communications. Symmetric encryption model.
- Public Key Cryptography (PKC): Separate keys for encrypting and decrypting communications. Asymmetric encryption model.
- Hash Functions: Mathematical transformation of communications to encrypt them. Creating a digital fingerprint of the communications content.
Using keys ensures only the sender and authorized recipient of a communication are able to view it.
Hash functions do not rely on keys. Instead, a fixed-length hash value is calculated that cannot be reversed engineered to its source. Verifying the contents of a communication have not been tampered with.