-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 3 posts ] 
Author Message
 Post subject: Encryption/MySQL/Hibernate
PostPosted: Fri Jul 23, 2004 5:06 pm 
Newbie

Joined: Fri Apr 02, 2004 2:22 pm
Posts: 11
All,

After searching the forum, I think I already know the answer to this but I'll ask anyway. I'd like to be able to use the MySQL encryption methods with Hibernate when fetching/store sensitive data via Hibernate but it seems from what I have read that the two won't play.

Is this still the case?

I don't want to convert all my source to use straight JDBC calls to fetch/store the sensitive data so I'm assuming that a custom java class to do encryption/decryption is my only avenue?


Top
 Profile  
 
 Post subject:
PostPosted: Fri Jul 23, 2004 7:02 pm 
Newbie

Joined: Tue Jul 13, 2004 9:55 pm
Posts: 7
Location: Tucson, AZ
I haven't tried to do this in Hibernate, but I have a Java class that will give you the same MD5 implementation as MySQL has if you are using MD5 to store passwords. Let me know if you want it and I can send it along.

_________________
Danny Mandel <dmandel at nospam dot tolweb dot org>
Lead Programmer, Tree of Life Project
http://tolweb.org


Top
 Profile  
 
 Post subject:
PostPosted: Fri Jul 23, 2004 9:37 pm 
Newbie

Joined: Fri Apr 02, 2004 2:22 pm
Posts: 11
Danny,

Thanks for the reply and the generous offer to share your class. I'm mainly interested in storing information using AES encryption since I'll need to retrieve the encrypted information as well as store it. For passwords I have something else in mind but if it turns out not to work I'll definitely be getting in touch with you.

So, I'm kind of still stuck on this one.

-Mike


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 3 posts ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
cron
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.