We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 08a6c46 commit 7cfd98eCopy full SHA for 7cfd98e
README.md
@@ -44,4 +44,11 @@ $fingerprint = $connection->fingerprint();
44
if ($newConnection->fingerprint() != $fingerprint) {
45
throw new Exception('Fingerprint does not match!');
46
}
47
+```
48
+
49
+If you wish, you can specify the type of fingerprint you wish to retrieve.
50
51
+```php
52
+$md5Fingerprint = $connection->fingerprint(SSHConnection::FINGERPRINT_MD5); // default
53
+$sha1Fingerprint = $connection->fingerprint(SSHConnection::FINGERPRINT_SHA1);
54
```
0 commit comments