Giter Club home page Giter Club logo

markanthony19 / matrixaipoc_go-crypto Goto Github PK

View Code? Open in Web Editor NEW

This project forked from matrixainetwork/matrixaipoc_go-crypto

0.0 1.0 0.0 9.86 MB

This is Matrix's GO implementations on Crypto for POC.

License: GNU Lesser General Public License v3.0

Dockerfile 0.03% Makefile 0.11% Go 77.36% Shell 0.16% NSIS 0.22% Ruby 0.01% Python 0.34% HTML 0.12% JavaScript 4.31% Solidity 0.13% Assembly 0.44% C 14.72% C++ 1.51% M4 0.24% Java 0.28% CSS 0.01%

matrixaipoc_go-crypto's Introduction

Introduction

This is Matrix's GO implementations on Crypto for POC. It can only be considered as a functional test based on Ethereum crypto algorithm instead of Matrix's final crypto implementation.

Details as follows:

  1. mtxCrypAlg under crypto contains main implementations of crypto algorithms, and mtxcrypto.go is the interface provided for external calling;

  2. polarssl under mtxCrypAlg are third-party library header files; mtxEcdsa contains header files for Encryption and Secryption, as well as signature verification; mtxHash contains HASH implementations;

  3. .c file under mtxCrypAlg are library implementations and algorithms; cgoMtxAlg.go enables the translation between GO and C using CGO;

  4. signature_cgo.go and crypto.go under crypto are ethereum's original crypto algorithm interface files for external calling, and based on this, we introduced two more interfaces SignEx and VerifySignatureEx which will be used for signature verification. Ecrecover and EcrecoverEx interfaces supports public key recovery. generateKeyEx is the new interface for publick/private key generation

matrixaipoc_go-crypto's People

Contributors

matrixhaolin avatar matrixainetworkman avatar

Watchers

James Cloos 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.