Not off topic, but you are on the right track. I assume you already know about the SQLObject _get_someattribute() and _set_someattribute() trick which you can use to automate encryption on the way into and out of the database.
On 7/30/07, Jim Steil <[EMAIL PROTECTED]> wrote: > > Hi: > > I'm wondering if TG has a utility that I can use to encrypt a string > value that I'm storing in my database. Ideally I'd build the > encryption/decryption into my SO model but don't know if there are any > encryption functions included in TG or not. I am currently using the > identity encryption to encrypt my passwords in my db, but in this case > would need to be able to decrypt an encrypted string as well. I've done > some googling and see that pycrypt seems to be a regularly used python > tool for encryption. Before I go the route of importing that into my > model and putting in the required code, I thought I run it by the TG > list and see if people would recommend implementing this in a different way. > > I apologize if this seems off-topic.... > > -Jim > > > > -- Mark Ramm-Christensen email: mark at compoundthinking dot com blog: www.compoundthinking.com/blog --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "TurboGears" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/turbogears?hl=en -~----------~----~----~----~------~----~------~--~---

