public class ComputeDigest extends Object
An example command line (shown with lines wrapped for readability) is:
where install_dir is the directory where the Apache River release is installed. This command prints out the message digest for thejava -jar install_dir/lib/computedigest.jar \ install_dir/lib/reggie.jar \ SHA-1
reggie.jar
JAR file, using the SHA-1
algorithm.Modifier and Type | Method and Description |
---|---|
static void |
main(String[] args)
Prints the message digest for the contents of a URL.
|
public static void main(String[] args)
url [ algorithm ]The first argument specifies the URL, which is parsed in the context of a
file:
URL. The second argument, if present,
specifies the message digest algorithm, which defaults to
SHA-1
.Copyright 2007-2013, multiple authors.
Licensed under the Apache License, Version 2.0, see the NOTICE file for attributions.