PHPackages                             webmasterskaya/crypto-types - 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. webmasterskaya/crypto-types

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

webmasterskaya/crypto-types
===========================

A PHP library of various ASN.1 types for cryptographic applications.

0.3.1(5y ago)070MITPHPPHP &gt;=7.2

Since Jul 14Pushed 5y agoCompare

[ Source](https://github.com/webmasterskaya/crypto-types)[ Packagist](https://packagist.org/packages/webmasterskaya/crypto-types)[ Docs](https://github.com/webmasterskaya/crypto-types)[ RSS](/packages/webmasterskaya-crypto-types/feed)WikiDiscussions master Synced 3d ago

READMEChangelogDependencies (3)Versions (9)Used By (0)

CryptoTypes
===========

[](#cryptotypes)

[![Build Status](https://camo.githubusercontent.com/684c10b3d735e73591456509969b43d90722fe925c3516baed162e742d51e57a/68747470733a2f2f7472617669732d63692e6f72672f736f702f63727970746f2d74797065732e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/sop/crypto-types)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/2fedb7dcde7086dc6c2f885acf7bb8a80193b20155d94c01c8977c8a66e5c1b5/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f736f702f63727970746f2d74797065732f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/sop/crypto-types/?branch=master)[![Coverage Status](https://camo.githubusercontent.com/d0b2b1979696bcf2dab6fe56c2338f34db1bcce6b7c51d0e1a7d024c4b7a977f/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f6769746875622f736f702f63727970746f2d74797065732f62616467652e7376673f6272616e63683d6d6173746572)](https://coveralls.io/github/sop/crypto-types?branch=master)[![License](https://camo.githubusercontent.com/d8e304b726fd317c628bd734f99410933c59ebb36d1f660d58eccb71ec01fd82/68747470733a2f2f706f7365722e707567782e6f72672f736f702f63727970746f2d74797065732f6c6963656e7365)](https://github.com/sop/crypto-types/blob/master/LICENSE)

A PHP library of various ASN.1 types for cryptographic applications.

Requirements
------------

[](#requirements)

- PHP &gt;=7.2
- gmp
- [sop/asn1](https://github.com/sop/asn1)
- [sop/crypto-encoding](https://github.com/sop/crypto-encoding)

Features
--------

[](#features)

- Asymmetric keys
    - [`RSAPrivateKey`](https://tools.ietf.org/html/rfc2437#section-11.1.2), [`RSAPublicKey`](https://tools.ietf.org/html/rfc2437#section-11.1.1)
    - [`ECPrivateKey`](https://tools.ietf.org/html/rfc5915#section-3), [`ECPublicKey`](https://tools.ietf.org/html/rfc5480#section-2.2)
    - [`PrivateKeyInfo`](https://tools.ietf.org/html/rfc5208#section-5)([PKCS #8](https://tools.ietf.org/html/rfc5208))
    - [`SubjectPublicKeyInfo`](https://tools.ietf.org/html/rfc5280#section-4.1)([X.509](https://tools.ietf.org/html/rfc5280))
- [RSA](https://tools.ietf.org/html/rfc2313#section-10) and [EC](https://tools.ietf.org/html/rfc3278#section-8.2) signature types
- Various `AlgorithmIdentifier` types and their OID's

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

[](#installation)

This library is available on [Packagist](https://packagist.org/packages/sop/crypto-types).

```
composer require sop/crypto-types

```

License
-------

[](#license)

This project is licensed under the MIT License.

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity53

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 92.1% 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 ~228 days

Recently: every ~338 days

Total

7

Last Release

1855d ago

PHP version history (3 changes)0.1.0PHP &gt;=5.6.3

0.2.0PHP &gt;=7.0

0.3.0PHP &gt;=7.2

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/16020878?v=4)[Artem Vasilev](/maintainers/kernusr)[@kernusr](https://github.com/kernusr)

---

Top Contributors

[![sop](https://avatars.githubusercontent.com/u/1017000?v=4)](https://github.com/sop "sop (35 commits)")[![kernusr](https://avatars.githubusercontent.com/u/16020878?v=4)](https://github.com/kernusr "kernusr (3 commits)")

---

Tags

cryptographysignaturersaasn1Private Keypublic keyecalgorithm identifier

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/webmasterskaya-crypto-types/health.svg)

```
[![Health](https://phpackages.com/badges/webmasterskaya-crypto-types/health.svg)](https://phpackages.com/packages/webmasterskaya-crypto-types)
```

###  Alternatives

[sop/crypto-types

A PHP library of various ASN.1 types for cryptographic applications.

111.4M33](/packages/sop-crypto-types)[spomky-labs/pki-framework

A PHP framework for managing Public Key Infrastructures. It comprises X.509 public key certificates, attribute certificates, certification requests and certification path validation.

2725.9M11](/packages/spomky-labs-pki-framework)[phpseclib/phpseclib

PHP Secure Communications Library - Pure-PHP implementations of RSA, AES, SSH2, SFTP, X.509 etc.

5.6k434.8M1.3k](/packages/phpseclib-phpseclib)[vlucas/pikirasa

PKI public/private RSA key encryption using the OpenSSL extension

104101.1k1](/packages/vlucas-pikirasa)[sop/crypto-encoding

A PHP implementation of textual encodings of cryptographic structures.

161.4M27](/packages/sop-crypto-encoding)[ionux/phactor

Phactor is a high-performance PHP implementation of the elliptic curve math functions required to generate &amp; verify private/public (asymmetric) EC keypairs and ECDSA signatures based on secp256k1 curve parameters. This library also includes a class to generate Service Identification Numbers (SINs) based on the published Identity Protocol v1 spec.

5275.0k30](/packages/ionux-phactor)

PHPackages © 2026

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