need encryption algorithm

Michael Gilfix mgilfix at eecs.tufts.edu
Mon Apr 22 23:19:35 EDT 2002


On Mon, Apr 22 @ 18:41, Hugh wrote:
> Hi all,
>   I need a simple encryption algorithm that will not give me
> characters that I can't store in my oracle table. At the moment I'm
> using the rotor encryption module because I like it's simple interface
> but It's generating characters that oracle can't store which is a damn
> pain. What other modules are available that are easy to use and will
> do what I wan't. Remember that security is not paramount here, I'm
> only including it for functionality.

  Anything can be transformed into base64 for storage. But there's no
point in using a weak cipher as its akin to not really using crypto at
all. You should probably ask yourself: 1) why you're encrypting in the
first place? 2) How important security of the data is 3) Who is your
intended audience.

  If you're using a password to store information, then you should
select a symmetric key encryption algorithm. I suggest searching
google for the Mcrypto module or here's an implementation of mine of
blowfish in python: http://bofh.concordia.ca/blowfish.py.

               -- Mike

-- 
Michael Gilfix
mgilfix at eecs.tufts.edu

For my gpg public key:
http://www.eecs.tufts.edu/~mgilfix/contact.html





More information about the Python-list mailing list