On Oct 4, 10:37 am, horridohobbyist <horrido.hobb...@gmail.com> wrote:
> I guess no one has ever used encryption (M2Crypto) in web2py. Maybe
> the web2py community isn't as large as I had thought...

I've not had cause to use encryption (other than SSL/TLS) with web2py
yet.

I have another project where I needed (file storage) encryption and at
the time I didn't want to deal with deployment issues (i.e. binary
extensions) so I ended up using a pure Python blowfish implementation
that someone else wrote (and cleaning it up for newer versions of
Python). Speed was OK, it wasn't blindingly fast, and for kicks I
ended up trying PyCrypto too, as the blowfish implementation is binary
compatible with the pure Python version.

I don't think MeTooCrypto was an option at the time so I'm not
suggesting either one is better than the other, I didn't spend ages
looking around.

I've some code at 
http://code.google.com/p/pytombo/source/browse/trunk/src/pytombo/chi_io.py
if you want to take a look and see how to use either depending on
availability.

If you are on Linux, e.g. Ubuntu easy_install or apt-get should be an
easy way to install the required dependencies.

Chris

Reply via email to