470,863 Members | 1,274 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 470,863 developers. It's quick & easy.

How to encrypt my website and databases on my VPSs using my own dictionary?

I'm running two VPSs and both of them are under TOR. I already have good security and safety, but I think I need more.
Preferably, I'd like to put a secondary encryption using a technology/dictionary known only by me.
Like, how could I make this secondary encryption only in the databases without interfering with the LAMP packages?
*turn "A" into a "ao101";
*turn "a" into a "ao201";
*turn "B" into a "ao102";
*turn "b" into a "ao202";

And without interfering with the databases original content or with the user experience?

I really need this, since one of my TOR VPSs is a free email server, and I'd want to make this "TorMail" more secure, safe and privacy-friendly for the users.
Nov 2 '13 #1
2 6734
4,677 Expert Mod 4TB
What database are you looking to encrypt?
Nov 6 '13 #2
38 32bit
You really shouldn't- rather, you should call one of the established open-source encryption libraries to do this, such as mcrypt /Libmcrypt, etc.

The reason why you shouldn't simply create your own cipher is because it is likely to be rather weak, and trivial to break. Also, extra encryption really won't help all that much, due to what are known as "Rainbow tables" and the like.
Feb 26 '21 #3

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

2 posts views Thread by NotGiven | last post: by
2 posts views Thread by Anilza Popat | last post: by
6 posts views Thread by Don | last post: by
1 post views Thread by Y Store Tools | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.