AES encryption
AES (Advanced Encryption Standard) is the algorithm a PDF uses to encrypt its content once you set a password: it turns the text and images into unreadable data until someone enters the right key. It's a symmetric cipher — the same key both locks and unlocks it — and an extremely widely used one, the same standard that protects banking connections and government communications. The PDF spec supports both 128-bit and 256-bit AES; the longer the key, the more combinations a brute-force attack would have to try. A strong algorithm doesn't make a weak password strong, though — a short or guessable one is still the real point of failure.