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]

Learn how to code with interactive training for only $40

This bundle has nine interactive courses to help you learn a variety of high-demand coding skills faster and easier.
The post Learn how to code with interactive training for only $40 appeared first on TechRepublic.
Continue reading Learn how to code with interactive training for only $40

JWT secret part from php password_hash() (128bit random salt and password hashed together)?

We are using JWT (Json Web Token), with HS256 algorithm.
Is it ok to use PHP’s password_hash() functions output for the secret part?
It’s output is a 128 bit random salt with the user’s password hashed together with bcrypt.
(the reason we … Continue reading JWT secret part from php password_hash() (128bit random salt and password hashed together)?