Skip to main content

An SDK for cross-platform identity authentication and end-to-end encrypted communication based on DID

Project description

基于DID的跨平台身份认证和端到端加密通信技术

作者: 常高伟
邮箱: chgaowei@gmail.com
官网: pi-unlimited.com

摘要

本文提出了一种基于去中心化标识符(DID)和端到端加密通信技术,旨在解决当前智能体跨平台身份认证和安全通信的难题。通过结合W3C DID规范、区块链技术和TLS协议,本文设计了一种低成本、高效且安全的跨平台身份认证和加密通信方案。

特点

  • 跨平台身份认证:通过DID实现不同平台间的身份互操作性。
  • 端到端加密通信:使用ECDHE进行短期密钥协商,保证通信的安全性。
  • 高效和安全:简化身份验证过程,确保数据的保密性和完整性。

使用方法

请阅读我们的技术介绍精简版来快速了解我们技术的概要。

安装

在项目根目录下运行以下命令以安装所需依赖:

pip install -r requirements.txt

运行

在安装完所有依赖后,你可以通过以下命令运行SDK:

python your_sdk.py

详细介绍

更多详细内容请参阅我们的完整技术文档。

贡献

欢迎对本项目进行贡献。请在提交Pull Request之前阅读贡献指南。

许可证

本项目基于MIT许可证开源。详细信息请参阅LICENSE文件。

打包上传(先更改setup.py中版本号)

python setup.py sdist bdist_wheel 
twine upload dist/*        

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

didall-0.1.4.tar.gz (23.7 kB view details)

Uploaded Source

Built Distribution

didall-0.1.4-py3-none-any.whl (31.0 kB view details)

Uploaded Python 3

File details

Details for the file didall-0.1.4.tar.gz.

File metadata

  • Download URL: didall-0.1.4.tar.gz
  • Upload date:
  • Size: 23.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.12.4

File hashes

Hashes for didall-0.1.4.tar.gz
Algorithm Hash digest
SHA256 6bd3baf7a7b2e5fc293898ef46a0ff8fa11173d1e14e0aa9756aa13e66f2956c
MD5 1b7fa6936da392194e1ebce2f546f3e7
BLAKE2b-256 b481162acb0ec664a5cf0cfa6f4e8131141c04d9ac846cc7635769e7531a08fe

See more details on using hashes here.

File details

Details for the file didall-0.1.4-py3-none-any.whl.

File metadata

  • Download URL: didall-0.1.4-py3-none-any.whl
  • Upload date:
  • Size: 31.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.12.4

File hashes

Hashes for didall-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 924a04d36ea555e5a4071dff6b39c9f3dd9a3a0ffceac2f6169ada38eb21d254
MD5 68a064d3561e8f6b30230a44ebbdb0f5
BLAKE2b-256 ba6fbb561c1117697376d692b84c945ebb047c087f8c78e3a450e027cb3d55f2

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page