Linked Questions

2 votes
1 answer
27k views

I am looking for the simplest and secured way to encrypt/decrypt a string with a specific salt in PHP7 my string + specific salt = encryped data decode(encryped data) = my string I saw this post, ...
Attila Naghi's user avatar
  • 2,696
6 votes
4 answers
28k views

I'm looking for some functions to encrypt and decrypt strings in php using a key specified. Thanks!
Belgin Fish's user avatar
1 vote
3 answers
2k views

I am creating a random key, then i want to encrypt it using a good algorithm, then I want to encrypt the data with this encrypted key. My code is: $iv=16; //128bits $datakey = base64_encode(...
ITSagar's user avatar
  • 703
0 votes
0 answers
268 views

I am trying to write an application that requires me to encrypt users data, I have a couple of questions regarding encryption Is "defuse/php-encryption" secure to use in a business environment? How to ...
Dan's user avatar
  • 183
2 votes
0 answers
176 views

I want to encode links for hiding the source. I tried simple PHP base64_encode and I was happy but the problem is that anyone can easily decode that code. So if I can add one security key then it'll ...
Brittany Harris's user avatar
0 votes
0 answers
122 views

I need to provide my users the assurance of privacy in their posts. The posts are classic HTML generated by tinyMCE. I need the users to define their encryption string before they save the post. I ...
e4rthdog's user avatar
  • 5,233
218 votes
8 answers
318k views

Possible Duplicate: PHP 2-way encryption: I need to store passwords that can be retrieved I plan to store foreign account information for my users on my website, aka rapidshare username and ...
jiexi's user avatar
  • 3,019
46 votes
6 answers
86k views

I'm having trouble with basic encryption/decryption. I've looked all around for a working example but haven't quite found a working example. -I will be encrypting in php, decrypting with cryptojs for ...
user2769's user avatar
  • 469
21 votes
5 answers
75k views

I want to make an encryption function that should have some secret key. Something like the following: function encrypt($string) { $key = "mastermind"; $enc = encryptfunc($string, $key); ...
user avatar
22 votes
2 answers
46k views

I am making an employment application for a company I am working for. I've got it to protect against SQL injection and some XSS techniques. My main issue is keeping sensitive information secured, like ...
Jacob Cannon's user avatar
12 votes
4 answers
62k views

I'm trying to send encrypted data over the url to another site (using file_get_contents("anotherUrl.php?hash=$encryptedString"). The problem is, sometimes, the encryption contains some special ...
Ali's user avatar
  • 268k
3 votes
2 answers
13k views

I'm making an API and I'm new into it. I thought of this idea for creating an access token. Basically, we encrypt JSON data with a key, turn it to Base64 and return it as the access token. Later, API ...
Gintas_'s user avatar
  • 5,050
1 vote
4 answers
9k views

I've dowloaded 'defuse/php-encryption' from GitHub. I tried the exemple founded here : How do you Encrypt and Decrypt a PHP String? but I didn't succeed. "test.php" is in the same folder with "...
Jean's user avatar
  • 59
0 votes
2 answers
7k views

I want to encrypt some data within my php file when I add the stuff to my mysql database. This is how I do it. I create a static key like: $key = md5("uJHyFVSG"); Then I have two functions called ...
user avatar
5 votes
1 answer
4k views

There are a number of questions that discuss storing sensitive information in MYSQL using encryption. Some make great suggestions about hardening the web server, database server, and web application (...
user avatar

15 30 50 per page
1
2 3 4 5