updated encryptUtil