django-hash-filter Provides a simple filter to produce hashed (hex digest) values in templates. Install $ pip install django-hash-filter Usage {% load hash_filter %} {{ string_variable|hash:"sha256" }}