How to Securely Encrypt Data in PHP

  Рет қаралды 3,988

Bernhard Knasmueller

Bernhard Knasmueller

Күн бұрын

Пікірлер: 11
@nemac23
@nemac23 3 жыл бұрын
Awesome video Bernhard! Would be cool if you did a follow up on handling the key pairs and data in transit. I see your channel is pretty new, so best of luck! One suggestion from me would be to lower the background music volume to a quarter. Thanks
@OvercomerIdemudia
@OvercomerIdemudia Жыл бұрын
Very helpful, thank you.
@anderskozuch7838
@anderskozuch7838 Жыл бұрын
Awesome video Bernhard! When developing an emaillist and newsletter function in a website for a client, I found it unnerving that the emails would just lie there in the database without any protection, should an attacker actually get access. This method is great since I can now increase security of the email list functionality by encrypting the emails in the database, and only decrypt them to the original plaintext, when I need PHPMailer to send out an email.
@dev-nx1ug
@dev-nx1ug 3 жыл бұрын
wonderful explanation of this library. Thanks Bernhard
@hero268
@hero268 2 жыл бұрын
Great video Bernhard, great explanation!
@eightLives_forever
@eightLives_forever 2 жыл бұрын
Very helpful video! Thank you very much, you saved me hours of research!
@tonyhomfray
@tonyhomfray Жыл бұрын
Great explanation, thanks. I have a problem in which I get an 'access expired' message when decrypting on a different page. I have it working in a test project, but when I've tried to replace mcrypt with libsodium in a real peoject, I get the 'access expired' message. I'm storing the nonce in a SESSION variable. But have also tried hard-coding it into an environment variable so it doesn't change, but still the same issue. Any suggestions on how to resolve this? Thanks!
@jim9408
@jim9408 3 жыл бұрын
Great video Bernhard. I am new to this. You explained this very well. Thank you. I will be using this PHP library to insert data into MySQL/MariaDB. Do you have any suggestions on where I can learn to do a search on this encrypted data?
@roberthuang5646
@roberthuang5646 2 жыл бұрын
New to encryption. How would you pass the same nonce value to the receiver so they can decrypt the ciphertext correctly?
@TotoMacFrame
@TotoMacFrame 2 жыл бұрын
Hi Bernhard, danke für das Video, schön einfach und ausführlich. Eine Frage, die mich schon länger beschäftigt: Angenommen ich habe Nutzerdaten, die ich sicher speichern möchte. Passwörter werden ja nur gehasht, aber vielleicht will ich ja Kontaktdaten oder Zahlungsinformation nur verschlüsselt speichern, sodass diese Daten nicht gleich offenliegen, falls es einmal zu einem Leak kommt. Jetzt würde ich jedem Nutzer einen eigenen Key und natürlich eine eigene Nonce geben, müsste also vor dem Zugriff auf die Daten beides Laden, die Daten lesen, dann entschlüsseln und weiterverarbeiten. Die Herausforderung ist jetzt aber: Wie speichere ich diese Schlüsselinformationen selbst denn sicher? Separate Datenbank? Separater Server? Verschlüsselte Schlüssel? Gibt es dazu eine Art Best Practice, um im Falle eines Falles nicht gleich das Secret neben den verschlüsselten Daten liegen zu haben? Danke schonmal, und liebe Grüße.
@sonartori4082
@sonartori4082 3 жыл бұрын
how to pass the key value to another page?
Best Ways to Encrypt Passwords, Keys, & More with PHP
11:10
Delicious Brains
Рет қаралды 3,9 М.
버블티로 부자 구별하는법4
00:11
진영민yeongmin
Рет қаралды 18 МЛН
Кәсіпқой бокс | Жәнібек Әлімханұлы - Андрей Михайлович
48:57
Crypto for Everyone - Libsodium in PHP 7.2 | Marcus Bointon | IPC 2018
1:00:23
International PHP Conference
Рет қаралды 826
Webhook helpers in stripe-php
18:57
Stripe Developers
Рет қаралды 10 М.
4 Proven Open-Source File Encryption Tools ANYONE Should Use!
7:31
7 Cryptography Concepts EVERY Developer Should Know
11:55
Fireship
Рет қаралды 1,3 МЛН
Chemistry with Python - an Introduction to RDKit
16:43
Bernhard Knasmueller
Рет қаралды 40 М.
How I monitor exceptions using Sentry
24:44
Bernhard Knasmueller
Рет қаралды 4,7 М.
How to Encrypt & Decrypt Form Data using PHP Ajax - 1
24:43
Webslesson
Рет қаралды 24 М.
Quantum Computers, explained with MKBHD
18:13
Cleo Abram
Рет қаралды 8 МЛН
Basic File Encryption with GPG key pairs!
8:36
Luke Smith
Рет қаралды 138 М.
버블티로 부자 구별하는법4
00:11
진영민yeongmin
Рет қаралды 18 МЛН