Index: doc/tls.html ================================================================== --- doc/tls.html +++ doc/tls.html @@ -33,11 +33,11 @@
 
tls::ciphers ?protocol? ?verbose? ?supported?
tls::protocols
tls::version
 
-
tls::digest type ?-bin|-hex? [-file filename | ?-data? data]
+
tls::digest type ?-bin|-hex? [-file filename | -chan channel | ?-data? data]
tls::digests
tls::md4 data
tls::md5 data
tls::sha1 data
tls::sha256 data
@@ -73,11 +73,11 @@
tls::ciphers ?protocol? ?verbose? ?supported?
tls::protocols
tls::version

-tls::digest type ?-bin|-hex? [-file filename | ?-data? data]
+tls::digest type ?-bin|-hex? [-file filename | -chan channel | ?-data? data]
tls::digests
tls::md4 data
tls::md5 data
tls::sha1 data
tls::sha256 data
@@ -448,14 +448,17 @@
tls::version
Returns the OpenSSL version string.

tls::digest type ?-bin|-hex? - [-file filename | ?-data? data]
+ [-file filename | -chan channel | ?-data? data]
Calculate the message digest for data or file filename using type hash algorithm. Returns value as a hex string - (default) or as a binary value with -bin option. Type can be + (default) or as a binary value with -bin option. Using + -chan option, a stacked channel is created and data read + from the channel is used to calculate a message digest with the result + returned with the last read operation before EOF. Type can be any OpenSSL supported hash algorithm including: md4, md5, sha1, sha256, sha512, sha3-256, etc. See tls::digests command for a full list.
tls::digests