PDA

View Full Version : Encrypt Private Messages?


sully02
04-06-2005, 03:04 AM
Is it possible? I would assume it is... I would like to find out how to encrypt the private messages so they are not readable from the database, but would be readable on a user's private message screen.

If you know of how to do this, any help would be greatly appreciated.

tnguy3n
04-06-2005, 05:10 AM
you can use base64_encode() and base64_decode().

sully02
04-06-2005, 11:57 AM
you can use base64_encode() and base64_decode().
That function will do what I asked in the initial post?

If so, I have a couple more questions... Do you (Or anybody else here) use that method, and if so, would you happen to know what modifications I'd need to make to PHP (When I say that, I mean my vBulletin PHP) files to get this to work?

I think my members would feel a lot safer about their private messages if I could get this done.

Deaths
04-06-2005, 12:20 PM
I'm working on a hack which does that, it should be ready in 30 minutes.

sully02
04-06-2005, 12:23 PM
I'm working on a hack which does that, it should be ready in 30 minutes.
Wow, what a coincidence. That hack will be greatly appreciated, Deaths!

tnguy3n
04-06-2005, 12:24 PM
That function will do what I asked in the initial post?

If so, I have a couple more questions... Do you (Or anybody else here) use that method, and if so, would you happen to know what modifications I'd need to make to PHP (When I say that, I mean my vBulletin PHP) files to get this to work?

I think my members would feel a lot safer about their private messages if I could get this done.
use base64_encode() to encrypt message before inserting it to database
and yeah, when you encrypt msg using base64_encode(), it becomes un-readable (of course, unless you decrypt it back).

Deaths
04-06-2005, 04:17 PM
Released it, here's the link:
https://vborg.vbsupport.ru/showthread.php?t=79484