code: @Deprecated
      public static String generateToken(String secret, long seconds, String oid, String... payload) {
          return generateToken(secret.getBytes(Charsets.UTF_8), seconds, oid, payload);
      }
docs: This method is deprecated. please use {@link #generateToken(byte[], long, String, String...)} instead
  
  Generate a token string with secret key, ID and optionally payloads
  @param secret the secret to encrypt to token string
  @param seconds the expiration of the token in seconds
  @param oid the ID of the token (could be customer ID etc)
  @param payload the payload optionally indicate more information
  @return an encrypted token string that is expiring in {@link Life#SHORT} time period