code: public static void main(String args[]) throws NoSuchAlgorithmException {
          for (int i = 0; i < args.length; i++) {
              System.out.println(args[i] + "->" + generateDigest(args[i]));
          }
      }
docs: Call with a single argument of user:pass to generate authdata.
  Authdata output can be used when setting superDigest for example.
  @param args single argument of user:pass
  @throws NoSuchAlgorithmException