Загрузка...

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

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/4656141ee026c897c4dcc594fedf51fe

Links shown in the video:
‣ https://www.php.net/manual/en/book.openssl.php
‣ https://www.php.net/manual/en/book.sodium.php
‣ https://github.com/defuse/php-encryption
‣ https://www.reddit.com/r/PHP/comments/5pzt05/openssl_encrypt_ciphers_explaination/
‣ https://acte.ltd/utils/randomkeygen
‣ https://laravel.com/docs/11.x/encryption

Videos:
‣ Securely Storing PHP Configuration Settings https://youtu.be/L5E2HSHrDjw
‣ Importing namespaced elements with the use operator https://youtu.be/GrXtA5zCGFk
‣ Simple PHP Stripe Checkout https://youtu.be/1KxD8J8CAFg

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

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

#PHP #encryption #laravel

Видео Encrypt and Decrypt Data Securely in PHP: OpenSSL, Sodium & defuse/php-encryption канала Dave Hollingworth
Страницу в закладки Мои закладки
Все заметки Новая заметка Страницу в заметки