GithubHelp home page GithubHelp logo

hhy5277 / encrypt Goto Github PK

View Code? Open in Web Editor NEW

This project forked from xinliangnote/encrypt

0.0 1.0 0.0 90 KB

常用 Api 接口签名 加密/解密 类库。PHP AES(AES-128-CBC)、Go AES(AES-128-CBC)、PHP RSA(密钥长度 2048)、JS RSA(密钥长度 2048)、Go RSA(密钥长度 2048) ...

PHP 5.37% Go 3.47% JavaScript 88.34% HTML 2.82%

encrypt's Introduction

项目介绍

项目地址:https://github.com/xinliangnote/Encrypt

常用 Api 接口签名 加密/解密 类库。

项目结构

├─ Encrypt
│  ├─ Go
│     ├── go_aes_128_cbc.go
│     ├── go_rsa_key_2048.go
│     ├── go_md5.go
│  ├─ PHP
│     ├── php_aes_128_cbc.php
│     ├── php_rsa_key_2048.php
│     ├── php_md5.php
│  ├─ JavaScript
│     ├── js_rsa.html

如果你发现本项目有内容上的错误,欢迎提交 issues 进行指正。

RSA 公钥/私钥

  • 私钥:openssl genrsa -out private_key.pem 2048
  • 公钥:openssl rsa -in private_key.pem -pubout -out public_key.pem

源码指引

运行结果

  • PHP AES(AES-128-CBC) 与 Go AES(AES-128-CBC) 互通。
  • PHP RSA(密钥长度 2048) 与 JS RSA(密钥长度 2048) 与 Go RSA(密钥长度 2048) 互通。
  • PHP MD5(组合拳) 与 Go MD5(组合拳) 互通。

学习交流

🌟 关注微信公众号「新亮笔记」

encrypt's People

Contributors

xinliangnote avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.