@@ -33,11 +33,11 @@
tls::ciphers ?protocol? ?verbose? ?supported?
tls::protocols
tls::version
- tls::digest type data
+ tls::digest type ?-bin|-hex? [-file filename | ?-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 data
+tls::digest type ?-bin|-hex? [-file filename | ?-data? data]
tls::digests
tls::md4 data
tls::md5 data
tls::sha1 data
tls::sha256 data
@@ -429,11 +429,11 @@
tls::ciphers
?protocol? ?verbose? ?supported?
Without any args, returns a list of all ciphers. With
- protocol, only the ciphers supportted for that protocol
+ protocol, only the ciphers supported for that protocol
are returned where protocol must be one of ssl2, ssl3,
tls1, tls1.1, tls1.2, or tls1.3. If verbose is
specified as true then a verbose, human readable list is returned
with additional information on the cipher. If supported
is specified as true, then only the ciphers supported for protocol
@@ -447,31 +447,33 @@
tls::version
Returns the OpenSSL version string.
- tls::digest type data
- Calculate the message digest for data using type
- hash algorithm. Returns value as a hex string. Type can be any
- OpenSSL supported hash algorithm including: md4, md5,
+ tls::digest type ?-bin|-hex?
+ [-file filename | ?-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
+ any OpenSSL supported hash algorithm including: md4, md5,
sha1, sha256, sha512, sha3-256, etc.
- See digests command for a full list.
+ See tls::digests command for a full list.
tls::digests
- Returns a list of the valid hash algorithms used to create message digests.
+ Returns a list of the hash algorithms for tls::digest command.
tls::md4 data
- Return the MD4 message-digest for data.
+ Returns the MD4 message-digest for data as a hex string.
tls::md5 data
- Return the MD5 message-digest for data.
+ Returns the MD5 message-digest for data as a hex string.
tls::sha1 data
- Return the SHA1 secure hash algorithm digest for data.
+ Returns the SHA1 secure hash algorithm digest for data as a hex string.
tls::sha256 data
- Return the SHA-2 SHA256 secure hash algorithm digest for data.
+ Returns the SHA-2 SHA256 secure hash algorithm digest for data as a hex string.