Measure randomness in text or passwords. Compute Shannon entropy (bits/symbol), total entropy, and compressibility estimates.