Welcome Guest, Not a member yet? Register   Sign In
is_unique for encrypted data
#2

(03-13-2017, 03:58 PM)pb.sajjad Wrote: Hi to all...
I decide to encrypt user's sensitive data (tel, address,...) using CI encryption library. In form validation rules, for some fields like mobile number, I used is_unique[table.field]. But for encrypted data, it is useless!
Is there anyway to solve this or I must write a callback function in form validation rules (a function that get a field, encrypted it and then compare it to all records)?
I want to know also your opinion for encrypting these data.

thanks.

Hi! Im new to CodeIgniter. How can you display encrypted data from the database to a, for example, a html table? Is there a function to decrypt an encrypted data? Im not sure but I think your idea to encrypt sensitive information is a good idea.
Reply


Messages In This Thread
is_unique for encrypted data - by pb.sajjad - 03-13-2017, 03:58 PM
RE: is_unique for encrypted data - by dunkindonato - 03-14-2017, 07:08 AM
RE: is_unique for encrypted data - by neodite - 03-15-2017, 12:34 AM
RE: is_unique for encrypted data - by pb.sajjad - 03-15-2017, 07:02 AM
RE: is_unique for encrypted data - by Martin7483 - 03-29-2017, 03:13 AM



Theme © iAndrew 2016 - Forum software by © MyBB