Re: Can any experienced HTTPS/MySQL user help build webservice.
Posted: Tue Jan 09, 2018 7:50 pm
To send it encrypted from LC to the DB i did:
Encrypt --> then base64encode -->send to DB
do not encrypt the id of the row of course
to read back in LC, get the data with a PHP file from the DB:
read from DB-->then Base64Decode --> then Decrypt
LC versions before LC9 have also encrypt and decrypt but limited to SHA1 and this is already cracked.
There are websites where you can enter a encoded SHA1 string and will be decoded in no time, just to prove it is cracked.
So to use more secure encrypting, use LC9.
Encrypt --> then base64encode -->send to DB
do not encrypt the id of the row of course
to read back in LC, get the data with a PHP file from the DB:
read from DB-->then Base64Decode --> then Decrypt
LC versions before LC9 have also encrypt and decrypt but limited to SHA1 and this is already cracked.
There are websites where you can enter a encoded SHA1 string and will be decoded in no time, just to prove it is cracked.
So to use more secure encrypting, use LC9.