#indy #component #shared #hyperledger #crypto

indy-crypto

This is the shared crypto library for Hyperledger Indy components

129 releases

Uses old Rust 2015

0.5.1 Jan 22, 2019
0.5.1-rc-31 Jan 21, 2019
0.5.1-rc-1 Apr 24, 2019
0.5.0 Dec 18, 2018
0.1.6 Sep 27, 2017

#4 in #indy

MIT/Apache

5.5MB
12K SLoC

Contains (debian package, 2.5MB) debs/libindy-crypto_0.5.1~31_amd64.deb, (debian package, 2MB) libindy-crypto-dev_0.5.1~31_amd64.deb

Indy Crypto

This is the shared crypto libirary for Hyperledger Indy components.

Hyperledger Indy provides a distributed-ledger-based foundation for self-sovereign identity.

The major artifacts of the Indy Crypto are:

  • С-callable library interface
  • Rust сrate
  • Python wrapper

All bugs, stories, and backlog for this project are managed through Hyperledger's Jira in project IS (note that regular Indy tickets are in the INDY project instead...). Also, join us on Jira's Rocket.Chat at #indy-sdk to discuss.

Building Indy Crypto

  1. Install Rust and rustup (https://www.rust-lang.org/install.html).

  2. Checkout and build the library:

    git clone https://github.com/hyperledger/indy-crypto.git
    cd ./indy-crypto/libindy-crypto
    cargo build
    cd ..
    
  3. Run tests

    cd libindy-crypto
    cargo test
    

API Documentation

API documentation is now available as rust doc in code. See:

Wrappers documentation

Binaries

Note: Binaries creation is in progress now!!!

Builded binaries can be downloaded from https://repo.sovrin.org/lib/apt/xenial/:

  • ubuntu/{master,stable,rc} - Ubuntu deb packages
  • windows/{master,stable,rc} - Windows zip-archive with all required DLLs (include libindy itself) and headers
  • ios/stable/ - Pods for iOS
  • rhel/{master,stable,rc} - RHEL rpms

Dependencies

~5–14MB
~150K SLoC