fix the function McCipherUtils.createCipher