I am trying to find the equivalent for the following in php, but can't seem to find any documentation on the function in the cryptojs lib.
CryptoJS.env.Base64.stringify(CryptoJS.lib.WordArray.random())