Rechercher une page de manuel

Chercher une autre page de manuel:


Langue: en

Autres versions - même langue

Version: 257621 (debian - 07/07/09)

Section: 1 (Commandes utilisateur)


bbdigest - calculate message digests


bbdigest md5|sha1|rmd160 [filename]


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.

The optional filename parameter is the input file whose message digest should be calculated; if no filename is given, the data is read from standard input.

bbdigest outputs a string containing the digest algorithm and the computed message digest. This is in a format suitable for use in the bb-hosts(5) definition of a content check.


   $ bbdigest md5 index.html

   $ curl -s | bbdigest sha1


bbtest-net(1), bb-hosts(5)
<rominet> Entendu chez HSC : il y a tellment de ports ouverts sur le
firewall que netstat -an fait coredump
-+- HSC in Guide du linuxien pervers - "Bien configurer son firewall" -+-