@@ -33,12 +33,12 @@
tls::ciphers ?protocol? ?verbose? ?supported?
tls::protocols
tls::version
- tls::hash type data
- tls::hashes
+ tls::digest type data
+ tls::digests
tls::md4 data
tls::md5 data
tls::sha1 data
tls::sha256 data
@@ -73,12 +73,12 @@
tls::ciphers ?protocol? ?verbose? ?supported?
tls::protocols
tls::version
-tls::hash type data
-tls::hashes
+tls::digest type data
+tls::digests
tls::md4 data
tls::md5 data
tls::sha1 data
tls::sha256 data
@@ -447,32 +447,31 @@
tls::version
Returns the OpenSSL version string.
- tls::hash type data
- Calculate the hash for data using type digest.
- Returns value as a hex string. Type cam be any OpenSSL supported
- hash digest including: md4, md5, sha1,
- sha2 (sha224, sha256, sha384, sha512,
- sha512-224, and sha512-256),
- sha3 (sha3-224, sha3-256, sha3-384, and sha3-512), etc.
-
- tls::hashes
- Returns a list of the valid hash digests.
+ 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,
+ sha1, sha256, sha512, sha3-256, etc.
+ See digests command for a full list.
+
+ tls::digests
+ Returns a list of the valid hash algorithms used to create message digests.
tls::md4 data
- Calculate the hash for data using the MD4 message-digest algorithm.
+ Return the MD4 message-digest for data.
tls::md5 data
- Calculate the hash for data using the MD5 message-digest algorithm.
+ Return the MD5 message-digest for data.
tls::sha1 data
- Calculate the hash for data using the SHA-1 secure hash algorithm.
+ Return the SHA1 secure hash algorithm digest for data.
tls::sha256 data
- Calculate the hash for data using the SHA-2 SHA-256 secure hash algorithm.
+ Return the SHA-2 SHA256 secure hash algorithm digest for data.