"""Security utilities for the API."""