Data Protection API (DPAPI) is a built-in Windows cryptographic service (since Windows 2000) that allows applications to easily encrypt sensitive data—like browser passwords, Wi-Fi keys, and encryption keys—using user or system secrets. It simplifies security for developers by handling key management automatically, often tying decryption to the user’s login credentials.