Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python hash md5 unicode

>>>from hashlib import md5 #this is just an example
>>>uFoo=u"why dòn't ìnsért sòme strànge chàrs? ù.ù"
>>>md5( uFoo.encode("utf-8") ).hexdigest()
'80a0d8c0e0a53e2e3a9edafa4f0b2c03'
Source by coderwall.com #
 
PREVIOUS NEXT
Tagged: #python #hash #unicode
ADD COMMENT
Topic
Name
9+6 =