title: Cipher a string using crypto-js with hex encoding to make it url friendly
body: <p>I am using <code>crypto-js</code> by <a href="https://github.com/brix/crypto-js" rel="noreferrer">brix</a>. I have this function below that handles the encryption of a plain text.</p>
  
  <pre><code>import CryptoJS from 'crypto-js'
  import AES from 'crypto-js/aes'
  
  const SECRET = 'I am batman'
  const plainText = 'This is Sparta!'
  
  export function enc(plainText){
      // returns something like this U2FsdGVkX184He5Rp991JYAiCSdTwfZs8T3kJUk3zAc=  
      // but with random `/` and I dont want that
      // I want it to be Hex but .toString(CryptoJs.enc.Hex) 
      // is not working, it just returns an '' empty string
      // it's a string, I checked using typeof
      return AES.encrypt(plainText, SECRET).toString();
  }
  </code></pre>
  
  <p>How do I make the enc(string) to return a <code>Hex</code> value which is url friendly?</p>