Skip to main content

A security property wherein past messages are protected against future compromise of the master keys.

Perfect forward secrecy (PFS), or just forward secrecy or forward security, is a security property applied to various cryptographic schemes, such as key-agreement protocols. Such a protocol is said to have perfect forward secrecy if past messages encrypted using previously derived temporary session keys remain secure even if an attacker later gains access to the long-term master keys.