Hello,
I am very new to Yii, but very excited about all the possibilities I see.
I am building an application where several of the fields require encryption (social security number, etc.). In my old, procedural PHP code, I was able to do this when extracting an encrypted field value from MySQL to display in a form:
AES_DECRYPT(insuranceSubscriberSSN,’$key_string’) as insuranceSubscriberSSN
I have looked through the documentation and the forums but have not found a good exmaple of how this works (at least, one that I kind understand).
I would very much appreciate some guidance and examples of the best ways to encrypt and decrypt a couple of fields.
Thanks very much,
Christopher
I am very new to Yii, but very excited about all the possibilities I see.
I am building an application where several of the fields require encryption (social security number, etc.). In my old, procedural PHP code, I was able to do this when extracting an encrypted field value from MySQL to display in a form:
AES_DECRYPT(insuranceSubscriberSSN,’$key_string’) as insuranceSubscriberSSN
I have looked through the documentation and the forums but have not found a good exmaple of how this works (at least, one that I kind understand).
I would very much appreciate some guidance and examples of the best ways to encrypt and decrypt a couple of fields.
Thanks very much,
Christopher