Encrypt/decrypt data in php | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 10

Encrypt/decrypt data in php

How i can encrypt/decrypt data in php?

8th Jul 2019, 8:27 AM
Boboev Ahmadjon Safaralievich
Boboev Ahmadjon Safaralievich - avatar
4 Answers
+ 2
The same way you would do it with other languages Get a library that does this for you or write your own encryption algorythm
8th Jul 2019, 10:09 AM
Lexfuturorum
Lexfuturorum - avatar
0
Ohh yeah and don't store password hashes without salting them that's like storing them plain
8th Jul 2019, 12:07 PM
Lexfuturorum
Lexfuturorum - avatar
0
Yes use library but never write your own algorithm, that would be suicidal
8th Jul 2019, 3:12 PM
Haibat
0
Haibat most likely it has more holes than a noodle sieve if somebody tries to make it without any experience and knowledge about encryption
21st Sep 2019, 11:16 AM
Lexfuturorum
Lexfuturorum - avatar