From: thirukumaran k. <t1...@gm...> - 2013-01-18 10:05:04
|
Hi Jeff I tried the below code but it does not give the out a byte array. the output of variable "data" is a set of junk characters "»d??Ý¥ÉÙÞÉ¡?ðÿé" m=hashlib.md5() m.update(unicode(input).encode('utf-8')) data = m.digest() grinder.logger.info(digest= " + str(data)) what other modifications do i need to do to get it as an array MessageDigest.getInstance("MD5").digest gives a byte array. thanks |