-
AES Encryption with JavaScript and Decryption with PHP
If you need to safely decrypt Client Side Encryption: function encrypt(data) { var encrypt = new JSEncrypt(); var publicKey = “—–BEGIN PUBLIC KEY—– […] —–END PUBLIC KEY—–“; // The public key from your server encrypt.setPublicKey(publicKey); var encrypted = encrypt.encrypt(data); return encrypted; } Decrypt the data with PHP: <?php $encrypted = “JCI5InK….”; // The encrypted message […]
-
Hello world!
Hello there, my name is Vinicius, I’m a programming enthusiast who has been coding in PHP and Laravel since 2015. Over the years, I have developed a deep understanding of web development and gained expertise in building robust and scalable web applications using these technologies. Recently, I have expanded my skillset and ventured into other […]