A cryptographic protocol ( also known as encryption protocol or security protocol ) is an abstract or an existing protocol that performs a security-related function and applies cryptographic methods . A security protocol ( cryptographic protocol or encryption protocol ) is an abstract or concrete protocol that performs a security-related function and applies cryptographic methods .