Change to use CryptoJS instead of xxtea and use hashing instead of encryption