I would use:

fingerprint_sha256 = models.CharField(max_length=64, unique=True, 
db_index=True)

In hexadecimal, a SHA-256 uses 64 characters (4 bits per char).
The ASCII of the characters used in the hexadecimal representation are 1 
byte in UTF-8 (0-9, a-f).

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/b6734947-ecec-4983-9253-57f1d95f13f8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to