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

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • vcatao13
    New Member
    • Nov 2013
    • 1

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

    Hello!
    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?
    Examples:
    *turn "A" into a "ao101";
    *turn "a" into a "ao201";
    *turn "B" into a "ao102";
    *turn "b" into a "ao202";
    ETC.

    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.
  • sicarie
    Recognized Expert Specialist
    • Nov 2006
    • 4677

    #2
    What database are you looking to encrypt?

    Comment

    • bakertaylor28
      New Member
      • Feb 2021
      • 45

      #3
      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.

      Comment

      Working...