This document describes the current stable version of Celery (5.6). For development docs, go here.

# `celery.security.utils`

Utilities used by the message signing serializer.

celery.security.utils.get_digest_algorithm(digest='sha256')

  Convert string to hash object of cryptography library.

celery.security.utils.reraise_errors(msg='{0!r}', errors=None)

  Context reraising crypto errors as `SecurityError`.