code: private CodecCipher setInit(Key key, AlgorithmParameters params, AlgorithmParameterSpec spec, SecureRandom random)
      {
          if (key == null)
          {
              throw new IllegalArgumentException("key is null.");
          }
  
          return setInit(key, params, spec, null, random);
      }
docs: Set cipher initialization parameters.