replaces usage of django.utils.hashcompat module 

Uses Python builtin hashlib instead