Cryptography Flashcards
MD5
Hash -
Message Digest - Hashing (128 bit)
SHA
Hash -
SHA - Secure Hash Algorithm
SHA1
Hash -
SHA - Secure Hash Algorithm 160 bit
SHA2
Hash -
SHA - Secure Hash Algorithm. 128, 256, 384, 512
SHA3
Hash -
SHA - Secure Hash Algorithm
HMAC
Hash -
Hash-Based Message Authentication code. Uses a shared key to improve randomness.
RIPEMD
Hash -
RACE Integrity Primitives Evaluation Message Digest
Used mostly for integrity.
LANMAN
Older MS password hashing alg
NTLM
v2 is the current MS password hashing alg.
Encrypts data in specific block sizes
Block cipher
Encrypts data on bit or byte at a time
Stream cipher
Uses a different encryption key each time
Stream cipher
AES
Advanced Encrypting Standard - block cipher
Encrypts data in 128-bit blocks
Symetric
Key size for AES-128
128 bits
Key size for AES-256
256 bits
Key size for AES-192
192 bits
DES
Data Encryption Standard - block cipher
Symetric
Commonly used cipher that encrypts data in one pass.
AES
3DES
3DES - 3 passes to encrypt - block cipher
Symetric
RC4
Symmetric Stream Cipher - RC4 - Ron Rivest. 40 - 2,048 bit encryption. Ron Rivest cipher. Also known as ARC4 Recommended for SSL, TLS when encrypting HTTPS
ARC4
Same as RC4
Stream cipher used in WEP
RC4. Symmetric and reuses keys.
Blowfish
Symmetric block cipher - Strong 64-bit block cipher. Encrypts 64-bit blocks, 32 and 448-bit keys Faster than AES
Twofish
Symmetric block cipher -
Strong 128-bit block cipher.
128, 192, 256 key lengths.
OTP
One Time Pad
Been around since 1917
Identical pads. Each page has a key and a serial number.
Once the key is used, the page/key is destroyed.
Symetric
RSA
Asymmetric cipher - Ron Vivest Adi Shamir Used since 1997 Asymmetric Used with key pairs. Widely used in SSL/TLS handshakes.
Keys that remain static over a long period of time.
Static Key
Keys that created for each session.
Ephemeral keys. Also called session keys.
RCA uses this type of key
Static key
How big is the block in AES?
128-bit block
What are the possible AES key lengths?
128, 192, 256
How big is the block in DES?
64-bit block
What are the possible DES key lengths?
56-bit
How big is the block in 3DES?
64-bit block