Make sure that your data is safe. The best way to make your data safe is to encrypt it. There are various times that you want to encrypt your data, transportation, moving the data from one computer to another and this is dealt with by using a secure certificate. The other time that you want your data safe, is when the data is static and stored in a data base. It is this static state that Web-D-Zine (WDZ) deals with.
WDZ supplies a class called wdzEncrypt and a data structure called dsEncryptInfo.
- wdzEncrypt uses encrypt and decrypt from the PHP Open SSL library(Read notes on Open SSL) and contains two functions called encrypt and decrypt that are similar to the functions encryptString and decryptString found in Git hub - php-openssl-cryptor
- dsEncryptInfo looks after all the information needed for wdzEncryot to work such as the encryption and hash algorithums. This dsEncryptInfo needs to be set up for your project prior to using wdzEncrypt. Notes on how to set up dsEncryptInfo are found in Setting up encryption in WDZ