PHPackages                             violuke/rsa-ssh-key-fingerprint - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. violuke/rsa-ssh-key-fingerprint

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

violuke/rsa-ssh-key-fingerprint
===============================

Generate a fingerprint from an RSA SSH public key.

v1.1.2(3y ago)9137.8k↓46.3%3[1 PRs](https://github.com/violuke/rsa-ssh-key-fingerprint/pulls)GPL-3.0+PHPPHP &gt;=7.3CI passing

Since Dec 26Pushed 3mo ago1 watchersCompare

[ Source](https://github.com/violuke/rsa-ssh-key-fingerprint)[ Packagist](https://packagist.org/packages/violuke/rsa-ssh-key-fingerprint)[ RSS](/packages/violuke-rsa-ssh-key-fingerprint/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (4)Dependencies (1)Versions (6)Used By (0)

rsa-ssh-key-fingerprint
=======================

[](#rsa-ssh-key-fingerprint)

PHP class for generating fingerprints from RSA SSH public keys

[![Build Status](https://camo.githubusercontent.com/c03b30d1f3a8c3b6a61f868765bf53f97c6d619240f9f6db94324247c9d7f62f/68747470733a2f2f7472617669732d63692e6f72672f76696f6c756b652f7273612d7373682d6b65792d66696e6765727072696e742e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/violuke/rsa-ssh-key-fingerprint)[![Packagist](https://camo.githubusercontent.com/0160be54a5c9b0db3bc3986583e8272de712a9025deaf044cb1a8132422acb58/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f76696f6c756b652f7273612d7373682d6b65792d66696e6765727072696e742e7376673f6d61784167653d32353932303030)](https://github.com/violuke/rsa-ssh-key-fingerprint)[![Packagist](https://camo.githubusercontent.com/21f5fced605e0f0b51aad553fb1d7723244ebdd42ff33b4bfa34d704a6910a66/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f76696f6c756b652f7273612d7373682d6b65792d66696e6765727072696e742e7376673f6d61784167653d32353932303030)](https://github.com/violuke/rsa-ssh-key-fingerprint)[![Packagist](https://camo.githubusercontent.com/b3832f0cdb0b12343901a8a454b9db6219471d1d2f65c6ece2e4ed5bcbf6f013/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f646d2f76696f6c756b652f7273612d7373682d6b65792d66696e6765727072696e742e7376673f6d61784167653d32353932303030)](https://github.com/violuke/rsa-ssh-key-fingerprint)[![Packagist](https://camo.githubusercontent.com/43cfc01e88e2071f7587aec4f06b15ffb54b7076d6db06f284e3aa79087fa4e3/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f76696f6c756b652f7273612d7373682d6b65792d66696e6765727072696e742e7376673f6d61784167653d32353932303030)](https://github.com/violuke/rsa-ssh-key-fingerprint)

Installation
------------

[](#installation)

```
$ composer require violuke/rsa-ssh-key-fingerprint
```

Usage (default MD5 fingerprint)
-------------------------------

[](#usage-default-md5-fingerprint)

```
$key = 'ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDHbry1PSM+P0eQZX32b8Gy/cAkxktpzB0hVPnvLDAqUGA2k7e4MJz7V4jYpNqeWUMqElKSAgn/GYwra7U2YpA/eZWSPpWIL2pwy4oQ2+bRaSzlt6wyB4aTLG1dHRFl+kYK3dN3XDdjY2Fx+xQX809eeWtmqBWy5khbQ2Fx0ovK6f0mSbtJRMrLioBYQ/2YQXeR5HQH8CjLZHJ8XeY4BjJ0D+W0yRim+uD7d3CqCUlR2BVDi0MevVMnvwefKQD9cJMOJSsHdGP8Vm/PMpZ5tS4JSTULVkBHfzpC/2D7AI4jbAxUO9j7kChaRY+te+6mYLJGkUtgMDOrTNTaOEAKjeO/ lukecousins@Lukes-iMac.local';
$fingerprint = violuke\RsaSshKeyFingerprint\FingerprintGenerator::getFingerprint($key);
echo $fingerprint;
```

Outputs:

```
74:e7:80:bf:89:11:31:55:f7:4d:78:86:0d:fd:13:f5

```

Usage (SHA256 fingerprint)
--------------------------

[](#usage-sha256-fingerprint)

```
$key = 'ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDHbry1PSM+P0eQZX32b8Gy/cAkxktpzB0hVPnvLDAqUGA2k7e4MJz7V4jYpNqeWUMqElKSAgn/GYwra7U2YpA/eZWSPpWIL2pwy4oQ2+bRaSzlt6wyB4aTLG1dHRFl+kYK3dN3XDdjY2Fx+xQX809eeWtmqBWy5khbQ2Fx0ovK6f0mSbtJRMrLioBYQ/2YQXeR5HQH8CjLZHJ8XeY4BjJ0D+W0yRim+uD7d3CqCUlR2BVDi0MevVMnvwefKQD9cJMOJSsHdGP8Vm/PMpZ5tS4JSTULVkBHfzpC/2D7AI4jbAxUO9j7kChaRY+te+6mYLJGkUtgMDOrTNTaOEAKjeO/ lukecousins@Lukes-iMac.local';
$fingerprint = violuke\RsaSshKeyFingerprint\FingerprintGenerator::getFingerprint($key, 'sha256');
echo $fingerprint;
```

Outputs:

```
6EbRDmqVEmgAD6FOXQuIiG8uUSteIDKZzj2bgZ+88V0=

```

Testing
-------

[](#testing)

```
$ ./vendor/bin/phpunit tests
```

###  Health Score

45

—

FairBetter than 93% of packages

Maintenance53

Moderate activity, may be stable

Popularity39

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity62

Established project with proven stability

 Bus Factor1

Top contributor holds 80% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~705 days

Total

4

Last Release

1314d ago

PHP version history (3 changes)v1.0PHP ^5.5 || ^7.0

v1.1.0PHP ^5.6 || ^7.0

v1.1.1PHP &gt;=7.3

### Community

Maintainers

![](https://www.gravatar.com/avatar/916b54090a031ca520c8c10859bc1f999387c3f955c36b12f7edd96fb459a8c5?d=identicon)[violuke](/maintainers/violuke)

---

Top Contributors

[![violuke](https://avatars.githubusercontent.com/u/6420347?v=4)](https://github.com/violuke "violuke (16 commits)")[![eporama](https://avatars.githubusercontent.com/u/178637?v=4)](https://github.com/eporama "eporama (3 commits)")[![onlime](https://avatars.githubusercontent.com/u/2759561?v=4)](https://github.com/onlime "onlime (1 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/violuke-rsa-ssh-key-fingerprint/health.svg)

```
[![Health](https://phpackages.com/badges/violuke-rsa-ssh-key-fingerprint/health.svg)](https://phpackages.com/packages/violuke-rsa-ssh-key-fingerprint)
```

###  Alternatives

[mastergalen/adsense-ads

Display Adsense ads easily in Laravel.

1211.2k](/packages/mastergalen-adsense-ads)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
