Project

General

Profile

Actions

$sslhash » History » Revision 1

Revision 1/4 | Next »
Per Amundsen, 09/06/2022 09:26 PM


Added in 4.3

$sslhash(md5|sha1|sha256|sha512|ecdsa, p|s)

Returns the SSL/TLS client or server certificate hash.

Parameters

md5|sha1|sha256|sha512|ecdsa - The hash method to return.
p|s - p = the private/client certificate, s = the remote server certificate.

Properties

.babble - Returns bubble babble encoded string.
.colons - Returns hash digest with pairs of hex digits separated by colons.

Example

//echo -ag The shas256 hash for the current client certificate is $sslhash(sha256, p)

//echo -ag The shas256 hash for the current remote certificate is $sslhash(sha256, s)

Updated by Per Amundsen over 2 years ago · 1 revisions

Also available in: PDF HTML TXT