mardi 28 septembre 2021

enciphered URLs laravel

how to make the encryption shorter in characters?

\Crypt::encrypt($event->id))

Result:

http://myurl/id/eyJpdiI6Im5ub0hyaWJwVE1iendYbHNaSzJsSXc9PSIsInZhbHVlIjoiVHhpNmF4b3NlQjk2NFluRXhCOFZuQT09IiwibWFjIjoiZDkxNzk2OTlmZGRmZWJjYjFlNjExYjcyNWU4Y2Y4NWYwMjYxMTkxN2ZmNzU3NGM4Nzg0OWJkNjk1NmExNjVkZiIsInRhZyI6IiJ9

generates a very large link, I need to shorten it, is it possible?



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

Aucun commentaire:

Enregistrer un commentaire