title: Limit Laravel 5 Encryption length
body: <p>I have a Laravel5 web application of Business directory.</p>
  
  <p>When I Encrypting a value like </p>
  
  <pre><code>$cryptval = Crypt::encrypt(1);
  
  result  =  eyJpdiI6IndhaFZFNlhIRDlURzdXanJVMEhBM0E9PSIsInZhbHVlIjoidWF3VzRFZDhyRHltUlwveDdyV0VVWnc9PSIsIm1hYyI6IjE5YjA2YWIyN2Q0MTBlYjdhNDJiNDE5ZjY2OGQ2MDA2NzQ3ZTA4ODc4NzY0ZTIwMjBiMzQxN2RjNmM5ZDg3ZjYifQ==
  </code></pre>
  
  <p>its  giving a long string about 250 length.</p>
  
  <p>Is there any way to limit the length of this string in laravel?</p>
  
  <p>My Client needs to add the URL with encrypted value in a mail function.
       eg:</p>
  
  <blockquote>
    <p>www.example.com/varify/eyJpdiI6IndhaFZFNlhIRDlURzdXanJVMEhBM0E9PSIsInZhbHVlIjoidWF3VzRFZDhyRHltUlwveDdyV0VVWnc9PSIsIm1hYyI6IjE5YjA2YWIyN2Q0MTBlYjdhNDJiNDE5ZjY2OGQ2MDA2NzQ3ZTA4ODc4NzY0ZTIwMjBiMzQxN2RjNmM5ZDg3ZjYifQ==</p>
  </blockquote>
  
  <p>But the mail function only allow some length of URL :(</p>