On this pageCrypto Recipes Find deprecated crypto.createCipher() and crypto.createDecipher() usage Replace deprecated crypto.fips with crypto.getFips() and crypto.setFips() Replace deprecated new crypto.Hash() and new crypto.Hmac() with factory methods