Port the following library from Java -> Python 2.5
[url removed, login to view]~ahcox/Java/index.html#hsm (src: [url removed, login to view]~ahcox/Java/[url removed, login to view])
The command line test case must also be ported. The calculator applet and any GUI related code can be ignored. Just the lib and the basic cmd line test case.
"Straight port" - nothing fancy. Simply substitute Java Reflection API with python equivalent (much simpler, since functions/class methods are first class objects and can be easily passed around)