code: public static CipherUtil buildInstance(Algorithms algorithms, String seed, int keySize) {
          String id = (algorithms.name() + seed + keySize).intern();
          SecretKey key = KEY_CACHE.compute(id, (k, v) -> {
              if (v == null) {
                  return KeyTools.buildKey(algorithms, seed, keySize);
              } else {
                  return v;
              }
          });
          return buildInstance(algorithms, key.getEncoded());
      }
docs: SymmetryCipher构造器
  
  @param algorithms 算法，当前仅支持AES和DES
  @param seed       随机数种子
  @param keySize    keySize
  @return SymmetryCipher