title: How to encrypt/decrypt an integer in PHP
body: <p>is there any way to make 2 way encryption/decryption for an integer (or string)
  Please note that I am not looking for encoding</p>
  
  <p>i need something like this</p>
  
  <blockquote>
    <p>crypting (100) --> 24694</p>
    
    <p>crypting (101) --> 9564jh4 or 45216 or gvhjdfT or whatever ...</p>
    
    <p>decrypting (24694) --> 100</p>
  </blockquote>
  
  <p>I don't need encoding because it`s bijective</p>
  
  <blockquote>
    <p>base64_encode(100) -->MTAw</p>
    
    <p>base64_encode(101) -->MTAx</p>
  </blockquote>
  
  <p>I hope I will find a way here to encrypt/decrypt PURE NUMBERS (computer love numbers, it's faster)</p>