[ Index ] |
PHP Cross Reference of Joomla 4.2.2 documentation |
[Source view] [Print] [Project Stats]
Fingerprint Trait for Public Keys PHP version 5
Author: | Jim Wigginton <[email protected]> |
Copyright: | 2015 Jim Wigginton |
License: | http://www.opensource.org/licenses/mit-license.html MIT License |
File Size: | 62 lines (2 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
getFingerprint($algorithm = 'md5') X-Ref |
Returns the public key's fingerprint The public key's fingerprint is returned, which is equivalent to running `ssh-keygen -lf rsa.pub`. If there is no public key currently loaded, false is returned. Example output (md5): "c1:b1:30:29:d7:b8:de:6c:97:77:10:d7:46:41:63:87" (as specified by RFC 4716) param: string $algorithm The hashing algorithm to be used. Valid options are 'md5' and 'sha256'. False is returned return: mixed |
Generated: Wed Sep 7 05:41:13 2022 | Chilli.vc Blog - For Webmaster,Blog-Writer,System Admin and Domainer |