table of contents
other versions
- wheezy 4.3.0~beta2.dfsg-9.1
BBDIGEST(1) | General Commands Manual | BBDIGEST(1) |
NAME¶
bbdigest - calculate message digestsSYNOPSIS¶
bbdigest md5|sha1|rmd160 [filename]DESCRIPTION¶
bbdigest(1) is a utility to calculate message digests for a file or document. It is used when defining HTTP- or FTP-based content checks, where bbtest-net(1) checks that a URL returns a specific document; instead of having to compare the entire document, the comparison is done against a pre-computed message digest value using the MD5, RIPEMD160, SHA1 or any of the SHA2 (SHA-512, SHA-256, SHA-384, SHA-224) message digest algorithms.EXAMPLE¶
$ bbdigest md5 index.html
md5:88b81b110a85c83db56a939caa2e2cf6
$ curl -s http://www.foo.com/ | bbdigest sha1
sha1:e5c69784cb971680e2c7380138e04021a20a45a2
SEE ALSO¶
bbtest-net(1), bb-hosts(5)Version 4.2.3: 4 Feb 2009 | Xymon |