In total, there is 1 user online ::
(Based on users active over the past 5 minutes)
____________________________________This is just a nice random number!
..
8 lines (6 loc) • 187.0 B
1 2 3 4 5 6 7 8 9
import hashlib from django import template register = template.Library() @register.filter(name='sha256') def sha256(value): return hashlib.sha256(value.encode('utf-8')).hexdigest()