Skip to main content

Misc

Encryption/Hashing

Block Ciphers

  • ECB - Electronic Code Block
  • CBC - Cipher Block Chaining
  • OFB - Output Feedback
  • CTR - Counter

Common Encryption algorithms

Name Bits Key length
DES 64 56
3DES 168 112
IDEA 128
RC4 128 40
RC5 2048 0
AES 256
RSA 2048

 

Linux Password Hashes

  • 1 - MD5
  • 2ay - Blowfish
  • 5 - SHA256
  • 6 - SHA512

DNS

Record Type Data
A

IPv4

AAAA IPv6
CNAME canonical name
ANAME
SOA Start of Authority
NS Name Server
MX Mail Exchange
TXT Text record for various (SPF, DMARC, etc)
PTR Pointer record

Zone transfers happen over TCP 53. DNS queries over 53