title: PHP short encrypt
body: <p>I'm using this code:</p>
  
  <pre><code>$url = "http://www.webtoolkit.info/javascript-base64.html";
  print base64_encode($url);
  </code></pre>
  
  <p>But the result is very long: "aHR0cDovL3d3dy53ZWJ0b29sa2l0LmluZm8vamF2YXNjcmlwdC1iYXNlNjQuaHRtbA=="</p>
  
  <p>There is a way to transform long string to short encryption and to be able to transform?</p>
  
  <p>for example:</p>
  
  <pre><code>new_encrypt("http://www.webtoolkit.info/javascript-base64.html")
  Result: "431ASDFafk2"
  </code></pre>