leonteale

crypto notes

Sep 15th, 2015
249
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.22 KB | None | 0 0
  1. A block cipher operates on blocks or chunks of text
  2. Multiples of 64, i.e. 64, 128, 192 etc
  3.  
  4.  
  5. DES (64bits) can only be used for 32GB before starting to leak information about message contents
  6. AES (128bits) can be used for 256EB
  7.  
  8.  
  9. Hash function
  10. MD5
  11. SHA & SHA-1
  12. SHA 3
  13. HAVAL
  14. RIPMD-160
  15. Message authentication code (MAC)
  16.  
  17.  
  18.  
  19. symmetric 2 ways
  20.  
  21. AES best crypto
  22.  
  23. DES discard 8 bits
  24.  
  25. AES is symetric
  26.  
  27. AES 128 bit
  28.  
  29. SBOX = byte to byte substitution (AES?)
  30.  
  31. RC$ - WEP and SSL
  32.  
  33.  
  34. Asymetric - private key and public key pair
  35. RSA
  36. Diffie-Hellmann
  37. El Gamal
  38. Elliptic Curve Cryptography (ECC
  39.  
  40. Asymetric needs private key
  41.  
  42. RSA in software = 100 times slower than DES
  43.  
  44. El Gamel - used in recent PGP
  45.  
  46. symettric = confidentiality
  47.  
  48. Asymetric = auth and non-repudiation
  49.  
  50. SHA-1 = 160Bit hash. similar to MD5
  51.  
  52. SHA-2 ?(256 and 512)
  53.  
  54. ipsec
  55. Uses HMAC-MD5-96 or HMAC-SHA-1-96 to provide integrity
  56. ESP Mode uses 3DES, RC5, IDEA, 3IDEA, CAST or Blowfish
  57.  
  58.  
  59. SSL/TLS
  60. Encrypts messages using symmetric algorithms
  61. Calculates MAC for message integrity
  62. Key exchange via Diffie-Hellman or RSA
  63. TLSv1 is backward compatible with SSLv3
  64. Uses a HMAC instead of MAC
  65.  
  66.  
  67.  
  68. PGP = hybrid system
  69.  
  70. MAC
  71. HMAC
  72. CBC-MAC
  73. CMAC
Advertisement
Add Comment
Please, Sign In to add comment