Post Mon Nov 17, 2008 7:12 am

twofish for windows

Hi,

I'd like to install twofish for python, I'm running Windows XP at office.

I've downloaded twofish module from SourceForge but at make step I get the following error:

$ make
gcc -c -g -I/usr/include/python2.5 twofishmodule.c
twofishmodule.c:484: error: missing terminating " character
twofishmodule.c:493: error: stray '\' in program
twofishmodule.c:493: error: `nTwoFishType' undeclared here (not in a function)
twofishmodule.c:493: error: parse error before "type"
twofishmodule.c:493: error: stray '\' in program
twofishmodule.c:493: error: missing terminating " character
twofishmodule.c:515: error: initializer element is not constant
twofishmodule.c:515: error: (near initialization for `TwoFishType.ob_type')
twofishmodule.c:538: error: `TwoFishType_doc' undeclared here (not in a function)
twofishmodule.c:538: error: initializer element is not constant
twofishmodule.c:538: error: (near initialization for `TwoFishType.tp_doc')
make: *** [twofishmodule.o] Error 1

I took the last release, 0.7.

I've tried to fix the first error but it does not solve my problem.

Is there another module to handle twofish encryption please if the problem has no solution ?

Thanks.

Sly