mardi 26 juin 2018

Showing Last 8 Characters of a Decrypted String - Laravel

At the moment, I have a field within my Laravel project that requires some form of encryption, so I use the available encryption through Laravel, and decrypt using the following in my blade:

But I was curious if there was a way for me to be able to show only the last 8 characters of this field after it has been decrypted. I can't seem to find much mention of it though I do know using substr would technically get me there, I am not sure how to use it on an encrypted field.

Thanks



from Newest questions tagged laravel-5 - Stack Overflow https://ift.tt/2lyTvFz
via IFTTT

Aucun commentaire:

Enregistrer un commentaire