14 Sep
2001
14 Sep
'01
2:56 p.m.
I need to port an external method to a python scrip. What i do is generate a md5 checksum. how do i use md5 in python scripts? thanks,
You need to tell zope that the md5-module is allowed inside Zope. To do this you need to edit lib/python/Products/GlobalModules/__init__.py It should look like: ----------------------------------------------- from Products.PythonScripts.Utility import allow_module, allow_class from AccessControl import ModuleSecurityInfo, ClassSecurityInfo from Globals import InitializeClass allow_module('md5') ----------------------------------------------- At least this is how I enabled 'crypt'. -jf