I'm considering the Connect WAN 3G for some applications using a proprietary MD5 signature. I'm attempting to calculate an MD5 digest, but running into problems. I'm really new to Python. I have a short file uploaded to the Digi to test MD5.
# DigiMD5test.py
import hashlib
m = hashlib.new()
print m.hexdigest()
I have also uploaded md5.py and hashlib.py to the Digi. I'm seeing the following error:
#> python DigiMD5test.py
Traceback (most recent call last):
File "<string>", line 3, in ?
File "WEB/python/hashlib.py", line 133, in ?
md5 = __get_builtin_constructor('md5')
File "WEB/python/hashlib.py", line 60, in __get_builtin_constructor
import _md5
ImportError: No module named _md5
#>
Any ideas? I could use many of these devices if I could compute MD5s with Python.