定制 public-square/jwk-multibase-key-converter-php 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

public-square/jwk-multibase-key-converter-php

最新稳定版本:v0.1.1

Composer 安装命令:

composer require public-square/jwk-multibase-key-converter-php

包简介

Enables conversion of multibase strings to/from JWK, limited to secp256k1 and P-384. Additionally, has support for did:key method spec.

README 文档

README

Latest Stable Version Total Downloads Latest Unstable Version License

Information

This library is a tool to assist in the conversion of Multibase/Multicodec strings and did:key method spec keys to JWK, and vice versa. It utilizes Multibase/Multicodec, Simplito-EC, and JWT Framework to aid in these conversions.

For more information on the did:key spec, please read the current unofficial draft here.

Currently, this libary only supports the following curves:

  • secp256k1
  • nistp384

OpenSSL and Windows

In order for key generation to work on Windows machines, this Installation documentation must be done correctly, specifically regarding openssl.cnf.

How It Works

Requirements

  • >= PHP 8.1
  • composer
  • ext-gmp

Installation

You can install this library via Composer :

composer require public-square/jwk-multibase-key-converter-php

Contribute

Please open a pull request.

License

This software is release under MIT license.

统计信息

  • 总下载量: 9
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 5
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 2
  • Forks: 1
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2022-11-22

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固