Linked Questions

1 vote
3 answers
710 views

I want to store software license keys in a field of my mysql db, but I want to have the license number stored in a scrambled format so that if the db is compromised the license keys won't be usable. ...
BottyZ's user avatar
  • 145
0 votes
1 answer
2k views

If I have this cookie: $my_cookie = "value"; And i would like to encode this value by secret key like this: $encode_cookie = encoding($my_cookie, "key"); setcookie('my_cookie',$encode_cookie); Then, ...
Mazin's user avatar
  • 143
0 votes
3 answers
1k views

I'm creating a license key generator that RSA signs base64 encoded license key data and appends signature to license data.On the end user side signature is verified using the public key that is ...
Brlja's user avatar
  • 414
0 votes
1 answer
1k views

I have come accross other threads with similar questions but due to recent changes in PHP (ie. mcrypt removal), I am seeking some advice as to how I'd best go about this using OpenSSL in 2017/18. ...
ProGrammer's user avatar
  • 1,051
0 votes
2 answers
2k views

I want to encrypt/secure my phoneNumber column in MySQL so for this purpose I used bcrypt but unable to decrypt this Here is my code $password="abcd"; echo $pwd=password_hash($password, ...
amit's user avatar
  • 1,199
1 vote
1 answer
1k views

I was just wondering is it redundant to encrypt and sign a cookie? Isn't encryption enough? Why or why not? If it's not redundant, I'm wondering if I'm going about this in the right direction. For ...
user1307016's user avatar
-2 votes
2 answers
1k views

Due to GDPR I'm trying to find a good method to encrypt/decrypt data. But as my application has both Delphi and PHP endpoints I need functions that have strong encryption and work on both. Searching ...
delphirules's user avatar
  • 7,750
-1 votes
1 answer
1k views

I've been playing around with php mcrypt over the weekend with AES used to encrypt text strings with a key. Later I worked up a tiny php tool to encrypt / decrypt your strings with AES/mcrypt now ...
Arjit Chaudhary's user avatar
0 votes
1 answer
899 views

I'd like to store user id's in google analytics however since they have a policy of not allowing this, I want to encrypt some text in php and be able to decrypt when needed(The User Id). The catch ...
KingKongFrog's user avatar
  • 14.5k
1 vote
1 answer
837 views

I am working on creating an PHP String decrypter for a program that is written in VB.Net. I have done some research on .NET to PHP Encryption and Decryption and I can't seem to find a definitive ...
nullfrog's user avatar
1 vote
1 answer
1k views

From time to time I come around the task of creating functions for encrypting/decrypting strings and files in PHP. I decided to finally nail those functions and did some searching but I couldn't find ...
user1137183's user avatar
0 votes
1 answer
747 views

I am creating login where registered user can Login with there Emailid and password(use Lampp). I have one form where user are registering with there information that is User Name, EmailID, password ...
user3184286's user avatar
0 votes
2 answers
357 views

I need to make a ticketing system for a local promoter. I have most of the work done for the barcode but this is pretty old. I want to upgrade to use QR code. The security issue i have is when ...
Philip Elhage's user avatar
-1 votes
1 answer
547 views

i want to encrypt a text file. below is my code.But i am getting function error during run. <?php $key = '123456'; $plain_text = pkcs5_pad(file_get_contents('yourFile.txt')); /* Open module, ...
bKashOST's user avatar
  • 159
0 votes
1 answer
281 views

Hey I really need some guidance. ATM. i am using this encryption/decryption method for regular strings. function encrypt($pure_string) { $iv_size = mcrypt_get_iv_size(MCRYPT_BLOWFISH, ...
jonaslagoni's user avatar

15 30 50 per page