Encrypt and Decrypt Data Securely in PHP: OpenSSL, Sodium & defuse/php-encryption

Published: 10 April 2024
on channel: Dave Hollingworth
2,711
124

Learn how to encrypt and decrypt data in PHP.
Please consider supporting my channel: ☕ https://ko-fi.com/davehollingworth

Topics covered:
• Symmetrical encryption and decryption with a private key in PHP
• Using OpenSSL
• Using Sodium (libsodium)
• Using a third-party encryption package

All source code shown is free to download:
‣ https://gist.github.com/daveh/4656141...

Links shown in the video:
‣ https://www.php.net/manual/en/book.op...
‣ https://www.php.net/manual/en/book.so...
‣ https://github.com/defuse/php-encryption
‣   / openssl_encrypt_ciphers_explaination  
‣ https://acte.ltd/utils/randomkeygen
‣ https://laravel.com/docs/11.x/encryption

Videos:
‣ Securely Storing PHP Configuration Settings    • Securely Storing PHP Configuration Se...  
‣ Importing namespaced elements with the use operator    • PHP namespaces 5/10: Importing namesp...  
‣ Simple PHP Stripe Checkout    • Simple PHP Stripe Checkout - Securely...  

Image used in thumbnail:
‣ Flaticon.com - https://www.flaticon.com/free-icons/d...

00:00 Introduction
00:23 OpenSSL
05:06 Sodium
07:52 php-encryption
10:20 Summary

#PHP #encryption #laravel


On this page of the site you can watch the video online Encrypt and Decrypt Data Securely in PHP: OpenSSL, Sodium & defuse/php-encryption with a duration of hours minute second in good quality, which was uploaded by the user Dave Hollingworth 10 April 2024, share the link with friends and acquaintances, this video has already been watched 2,711 times on youtube and it was liked by 124 viewers. Enjoy your viewing!