Need help about how to generate the Key and Passphrase to encrypt/decrypt data (JavaScript)

I am developing a public website (with https) where each user is going to register and save confidential data, this data needs to be encrypted/decrypted only by the user. I need help to know how to produce the:

passphrase
salt
key

The My… Continue reading Need help about how to generate the Key and Passphrase to encrypt/decrypt data (JavaScript)

Feedback wanted regarding my functions to Encrypt/Decrypt data using PHP (Openssl) [closed]

I am creating a web app (HTML, CSS, JavaScript, PHP & MySQL) where the users register, and only logged users can create and save personal Notes (encrypted) in a MySQL Server database I have for this.
I don’t like external libraries, et… Continue reading Feedback wanted regarding my functions to Encrypt/Decrypt data using PHP (Openssl) [closed]