Skip to content

Latest commit

 

History

History
40 lines (24 loc) · 1002 Bytes

File metadata and controls

40 lines (24 loc) · 1002 Bytes

Settings

Default: :func:`cryptography.hazmat.backends.default_backend`

Default: :class:`cryptography.hazmat.primitives.hashes.SHA256`

The digest algorithm to use for signing and key generation.

Default: :obj:`None`

This value should not be used, instead the key will be derived from SECRET_KEY. Due to this depedency please consider whether, and how, the SECRET_KEY might change after encryption has taken place.

Default: 'django-cryptography'

Drop-in Replacements

The default can be replaced with a a Cryptography based version.

SIGNING_BACKEND = 'django_cryptography.core.signing.TimestampSigner'