MOD 20 - Cryptography Flashcards
Types of ciphers:
Symmetric, Asymmetric, Substitution, Transposition, Stream, Block. Be familiar with each of these.
Be familiar with encryption processes, PKI, digital signatures, non-repudiation, public & private keys, certificates, CA’s, RA’s, CRL’s, etc.
Certificate Validation
Process of checking a certificate to ensure it’s valid and has not been revoked
Symmetric ciphers:
Only one key: the same key encrypts and decrypts. MUCH faster than Asymmetric, so used for any bulk-encryption needs
The main drawback to symmetric is there is no built-in way to exchange the key with the recipient.
RC4 (Ron’s Code 4) SYM
Symmetric STREAM cipher used in WEP and WPA/TKIP
DES - Data Encryption Standard SYM
Uses 56-bit keys and 64-bit blocks
2DES SYM
does DES twice, with 2 different keys. Susceptible to a “Meet-in-the-Middle” attack, allowing the attacker to figure out 1 of the keys.
3DES SYM
does DES three times, with 3 different keys (oversimplified, but that’s the idea)
Twofish SYM
Uses 128 bit blocks, and up to 256 bit key size.
Threefish SYM
Blocks and keys can be 256, 512, and 1024 bits
AES - Advanced Encryption Standard SYM
Currently our best symmetric encryption option. Like Twofish, it uses 128 bit blocks and 128, 192, or 256 bit keys. Faster than Twofish!
AES is a block cipher and when used with WPA2 we call it CCMP (AES in CTR mode)
- CAST-128 SYM
Symmetric block cipher that uses 64-bit blocks and does 12 or 16 rounds of encryption
- Serpent SYM
Symmetric block cipher that uses four 32-bit blocks, does 32 rounds of encryption, and uses key sizes of 128, 192, or 256 bits
IDEA (used with PGP) SYM
Symmetric encryption that was supposed to replace DES. Optionally used with PGP for bulk encryption once RSA handles the key-exchange. 64 bit blocks, 128 bit key.
Asymmetric ciphers:
Creates a Public-Private key pair. Encrypt with either one, then only the OTHER one can decrypt.
RSA (Rivest, Shamir, Adleman) ASYM
First creates a private key, then mathematically deduces a public key from the private key, which is a one-way math function (can’t be reversed)