Register Members List Search Today's Posts Mark Forums Read

Mod Options
PMCrypt - Private Message Encryption Details »
PMCrypt - Private Message Encryption
Mod Version: 1.1.0, by magnus (Member) magnus is offline
Developer Last Online: Feb 2012 I like it Show Printable Version Email this Page

This modification is in the archives.
vB Version: 3.6.4 Rating: (9 votes - 4.78 average) Installs: 47
Released: 21 Feb 2007 Last Update: 22 Feb 2007 Downloads: 375
Not Supported DB Changes Uses Plugins Is in Beta Stage  

Keywords: Private, Message, PM, Encrypt, Encode, Security

Encrypts Private Messages within the MySQL database. Allows for on-the-fly decryption without the need for a shared key.

This hack will encrypt sent messages within your MySQL database. No longer will they be viewable in plaintext, thus affording your members a little more security with their private correspondance.

Please be aware that this is not a total security solution. This was devised with simplicity as well as security in mind -- such as that the encryption method used is NOT to be assumed "unbreakable" by any stretch of the imagination.

The messages are encrypted using a method developed and credited to AITOR SOLOZABAL MERIN by where text is encrypted/decrypted using a simple but powerful XOR method without a known key. Implicitly, the key is defined by the string itself in a character by character way. There are 4 items to compose the unknown key for the character in the algorithim:
  1. The ascii code of every character of the string itself
  2. The position in the string of the character to encrypt
  3. The length of the string that include the character
  4. Any special formula added by the programmer to the algorithm to calculate the key to use
This product does not explicitly rely on any vBulletin functions, thus there should not be any problems with future upgrades, etc.

This product was developed by request of FGENETICS and DOOGIE88.

1. Download and import the product-pmcrypt1.1.0.xml file via the Product Manager.

2. Enable the product via the AdminCP (vBulletin Options > Private Message Encryption)

3. ???

4. Profit

Version History:
v1.0.0 - Initial Release
v1.0.1 - Fixed bug when replying to an encrypted message.
v1.1.0 - Fixed issue with reply and preview. Encapsulated encryption within base64_encode(); for storage. Smilies no longer run risk of breaking encryption.

* Once enabled, all PM's sent thereafter will be encrypted. This means that should you choose to disable and/or uninstall the product, said PM's will remain encrypted -- rendering them unreadable.

* Please note that this modification was developed on a forum with a userbase of 1 (myself). I've tested it for basic functionality but I cannot guarantee functionality or behavior on your forum. So, please -- make backups before installing this product!

Download Now

Only licensed members can download files, Click Here for more information.


Click image for larger version

Name:	pmcrypt_ss1.jpg
Views:	1348
Size:	34.7 KB
ID:	60857   Click image for larger version

Name:	pmcrypt_ss2.jpg
Views:	819
Size:	13.3 KB
ID:	60858  

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • If you like this modification support the author by donating.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Similar Mod
Mod Developer Type Replies Last Post
Mini Mods GS - Visitor Message Private Message Notification 1.0 ForumsMods vBulletin 3.7 Add-ons 10 27 Oct 2011 11:56

Old 21 Feb 2007, 19:06
magnus's Avatar
magnus magnus is offline
Join Date: Apr 2002
Reply With Quote
Old 21 Feb 2007, 19:50
Stoebi Stoebi is offline
Join Date: Apr 2006
Real name: Peter

where is the file?
Reply With Quote
Old 21 Feb 2007, 19:51
Surviver's Avatar
Surviver Surviver is offline
Join Date: Feb 2006
Real name: Julian
Wow, very nice I'll klick instal if you upload the file :P
Reply With Quote
Old 21 Feb 2007, 19:53
projectego's Avatar
projectego projectego is offline
Join Date: Feb 2006
Location: UK
Real name: Steve
Sounds very interesting. I'll also click install once the file has been uploaded.
Reply With Quote
Old 21 Feb 2007, 20:40
magnus's Avatar
magnus magnus is offline
Join Date: Apr 2002
Durr.. it helps if actually upload the product. Woops!

Reply With Quote
Old 21 Feb 2007, 23:08
ZomgStuff's Avatar
ZomgStuff ZomgStuff is offline
Join Date: Feb 2007
A lot of potential! Thanks!

Reply With Quote
Old 21 Feb 2007, 23:25
Lionel Lionel is offline
Join Date: Dec 2001
Real name: Lionel
Nice! How does it work? Is it decipharable only by the recipient?
Reply With Quote
Old 22 Feb 2007, 00:14
doogie88 doogie88 is offline
Join Date: Oct 2006
Thank you very much.
One question though, is there anything that will notify me if it worked or not?
Because I enabled it, the Admin CP options are there, but I tested with a message, and it is just like a normal message.

** okay it seems to be working, because when you 'reply' you see the encrypted message.
However, the one downfall is when you reply, and the original sender gets the original message back, after the receiver read it, the original quoted message is encrypted.
Anyway to fix that?

Last edited by doogie88; 22 Feb 2007 at 00:19.
Reply With Quote
Old 22 Feb 2007, 00:42
magnus's Avatar
magnus magnus is offline
Join Date: Apr 2002
I'll take a look at it, should be a simple fix.
Reply With Quote
Old 22 Feb 2007, 01:36
magnus's Avatar
magnus magnus is offline
Join Date: Apr 2002
Ok, updated. Fixed the reply bug, however I did run into an issue with smilies during replies. You may want to check the "disable smilies" when replying for the time being, I'll devise a fix for that tomorrow.
Reply With Quote
Old 22 Feb 2007, 01:48
doogie88 doogie88 is offline
Join Date: Oct 2006
What do I need to do to upgrade it? Uninstall it and re-install?
Reply With Quote
Old 22 Feb 2007, 02:35
magnus's Avatar
magnus magnus is offline
Join Date: Apr 2002
You can just install the new version over the old one, just select "Allow Overwrite" on the Product Import page.
Reply With Quote
Old 22 Feb 2007, 03:40
doogie88 doogie88 is offline
Join Date: Oct 2006
Very buggy, having a lot of problems with it.
Most messages aren't being decrypted.
Reply With Quote
Old 22 Feb 2007, 11:13
magnus's Avatar
magnus magnus is offline
Join Date: Apr 2002
If you encrypted messages with 1.0, uninstalled, then installed 1.1 -- that would happen. By uninstalling you remove the added 'encrypt' row to the 'pmtext' table. When you re-install, the 'encrypt' row is added but without the correct integer for the previously encrypted messages. So when viewing those earlier encrypted messages, the decryption engine doesn't know to decrypt them.

I've installed, upgraded, uninstalled, reinstalled, reupgraded, etc.. about a dozen times, and each time the encryption/decryption works fine. The only problem, that I'm aware of currently, is occasionally the encryption text will contain a smiley bbcode (ie. ), thus preventing the message from being DEcrypted.

So, until that bug is fixed I would recommend checking "Disable smilies" when sending PM's. Also, keep in mind that this is still Beta, as noted in the original post.

Once I get into my office this morning, I'll go through the code. It was late last night, so God knows.

Last edited by magnus; 22 Feb 2007 at 11:27.
Reply With Quote

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
Mod Options

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

New To Site? Need Help?

All times are GMT. The time now is 05:06.

Layout Options | Width: Wide Color: