private static Algorithm createAlgorithm(String secret) {
    try {
      return Algorithm.HMAC256(secret);
    } catch (IllegalArgumentException e) {
      throw new RuntimeException("Couldn't create Algorithm instance", e);
    }
  }
Create the {@link Algorithm} to be used for signing and parsing tokens.
portability-api/src/main/java/org/datatransferproject/api/token/JWTTokenManager.java