5 Summarizing Basic Cryptographic Concepts Flashcards
What is a Cipher?
particular operations performed to encode or decode data
What is Cryptography?
the art of making information secure by encoding it
What is plaint text?
an unencrypted message
What is a Ciphertext?
An encrypted message
What is a Cryptoanalysis?
the art of cracking cryptographic systems
What is an Alice?
the sender of a genuine message
What is Bob?
the intended recipient of the message
What is a Mallory?
a malicious attacker attempting to subvert the message in some way
What is Hashing?
cryptographic hashing algorithm produces a fixed-length string from an input plaintext that can be of any length
What is a checksum?
The output of a hashing
What is Secure Hash Algorithm (SHA)?
considered the strongest algorithm. There are variants that produce different-sized outputs, with longer digests considered more secure. The most popular variant is SHA-256, which produces a 256-bit digest
What is Message Digest Algorithm #5 (MD5)?
produces a 128-bit digest. MD5 is not considered to be quite as safe for use as SHA-256, but it might be required for compatibility between security products
What is a symmetric encryption?
one in which encryption and decryption are both performed by the same secret key. The secret key is so-called because it must be kept secret
What is symmetric encryption?
Used for confidentiality
What is a Stream Cipher?
each byte or bit of data in the plaintext is encrypted one at a time. This is suitable for encrypting communications where the total length of the message is not known. The plaintext is combined with a separate randomly generated message, calculated from the key and an initialization vector (IV)
What is an Initialization Vector?
ensures the key produces a unique ciphertext from the same plaintext
What is a block cipher?
plaintext is divided into equal-size blocks (usually 128-bit). If there is not enough data in the plaintext, it is padded to the correct size using some string defined in the algorithm
What is Advanced Encryption Standard (AES)?
the default symmetric encryption cipher for most products. Basic AES has a key size of 128 bits, but the most widely used variant is AES256, with a 256-bit key
What is a Keyspace?
The range of key values available to use with a particular cipher
What does a public key do?
Encrypts a message
What does a private key do?
Decrypts a message
What is Asymmetric encryption?
Public-key cryptography, or asymmetric cryptography, is a cryptographic system that uses pairs of keys.
What is a trapdoor function?
a function that is easy to compute in one direction, yet difficult to compute in the opposite direction without special information
What is a Elliptic curve cryptography (ECC)?
allows smaller keys compared to non-EC cryptography to provide equivalent security