{"id":13396470,"url":"https://github.com/hyperledger-indy/indy-crypto","last_synced_at":"2025-03-13T23:31:20.097Z","repository":{"id":62570936,"uuid":"102024155","full_name":"hyperledger-archives/indy-crypto","owner":"hyperledger-archives","description":"Archive of Indy Crypto library. Superseded by the Hyperledger Ursa Project.","archived":true,"fork":false,"pushed_at":"2020-06-08T16:41:13.000Z","size":3647,"stargazers_count":49,"open_issues_count":6,"forks_count":58,"subscribers_count":22,"default_branch":"master","last_synced_at":"2024-04-10T03:54:36.651Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://wiki.hyperledger.org/display/indy","language":"Rust","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/hyperledger-archives.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null}},"created_at":"2017-08-31T16:59:14.000Z","updated_at":"2024-02-12T06:15:37.000Z","dependencies_parsed_at":"2022-11-03T18:25:57.634Z","dependency_job_id":null,"html_url":"https://github.com/hyperledger-archives/indy-crypto","commit_stats":null,"previous_names":["hyperledger/indy-crypto"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hyperledger-archives%2Findy-crypto","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hyperledger-archives%2Findy-crypto/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hyperledger-archives%2Findy-crypto/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hyperledger-archives%2Findy-crypto/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hyperledger-archives","download_url":"https://codeload.github.com/hyperledger-archives/indy-crypto/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":221421544,"owners_count":16817827,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-07-30T18:00:54.207Z","updated_at":"2025-03-13T23:31:14.700Z","avatar_url":"https://github.com/hyperledger-archives.png","language":"Rust","funding_links":[],"categories":["Shared Components"],"sub_categories":[],"readme":"## Before you Continue\n\nIf you haven't done so already, please visit the main resource for all things \"Indy\" to get acquainted with the code base, helpful resources, and up-to-date information: [Hyperledger Wiki-Indy](https://wiki.hyperledger.org/display/indy/).\n\n# Indy Crypto\n\nThis is the shared crypto library for [Hyperledger Indy](https://www.hyperledger.org/projects) components.\n\n[Hyperledger Indy](https://www.hyperledger.org/projects) provides a distributed-ledger-based foundation for [self-sovereign identity](https://sovrin.org).\n\nThe major artifacts of the Indy Crypto are:\n\n* С-callable library interface\n* Rust сrate\n* Python wrapper\n\nAll bugs, stories, and backlog for this project are managed through [Hyperledger's Jira](https://jira.hyperledger.org)\nin project IS (note that regular Indy tickets are in the INDY project instead...). Also, join\nus on [Jira's Rocket.Chat](chat.hyperledger.org) at #indy-sdk to discuss.\n\n## Building Indy Crypto\n\n## Ubuntu 16.04\n\n1. Install Rust and rustup (https://www.rust-lang.org/install.html).\n1. Install pre-requirements:\n\n    *For Ubuntu 16.04*\n\n    ```bash\n    apt-get update \u0026\u0026 \\\n    apt-get install -y \\\n    build-essential \\\n    pkg-config \\\n    cmake \\\n    libssl-dev\n    ```\n\n    *For Windows*\n\n    * Download the prebuilt dependencies [here](https://repo.sovrin.org/windows/libindy_crypto/deps/)\n    * Extract them into the folder _C:\\BIN\\x64_. Note it really doesn't matter where you put these as long as you\n      remember where so you can set the environment variables to this path\n    * Point path to this directory using environment variables:\n      * set OPENSSL_DIR=C:\\BIN\\x64\n      * set PATH=C:\\BIN\\x64\\lib;%PATH%\n\n1. Checkout and build the library:\n\n   ```bash\n   git clone https://github.com/hyperledger/indy-crypto.git\n   cd ./indy-crypto/libindy-crypto\n   cargo build\n   cd ..\n   ```\n\n1. Run tests\n\n   ```bash\n   cd libindy-crypto\n   cargo test\n   ```\n\n**Note:**\nBy default `cargo build` produce debug artifacts with a large amount of run-time checks.\nIt's good for development, but this build can be in 100+ times slower for some math calculation.\nIf you would like to analyse CPU performance of libindy-crypto for your use case, you have to use release artifacts (`cargo build --release`).\n\n## API Documentation\n\nAPI documentation is now available as rust doc in code. See:\n\n* C API\n  * [BLS](libindy-crypto/src/ffi/bls.rs)\n  * [CL](libindy-crypto/src/ffi/cl)\n* Rust API\n  * [BLS](libindy-crypto/src/bls/mod.rs)\n  * [CL](libindy-crypto/src/cl)\n\n## Wrappers documentation\n\n* [Python](wrappers/python/README.md)\n* [JavaScript](wrappers/javascript/README.md)\n\n## Binaries\n\nNote: Binaries creation is in progress now!!!\n\nBuilded binaries can be downloaded from [https://repo.sovrin.org](https://repo.sovrin.org):\n\n* sdk/lib/apt/xenial/{master,stable,rc} - Ubuntu deb packages\n* windows/libindy_crypto/{master,stable,rc} - Windows zip-archive with all required DLLs (include libindy itself) and headers\n* ios/libindy_crypto/stable/ - Pods for iOS\n* rhel/libindy_crypto/{master,stable,rc} - RHEL rpms\n\nAlso Ubundu deb packages can be installed from APT repository:\n\n```bash\napt-key adv --keyserver keyserver.ubuntu.com --recv-keys 68DB5E88\nsudo add-apt-repository \"deb https://repo.sovrin.org/sdk/deb xenial stable\"\nsudo apt-get update\nsudo apt-get install -y libindy-crypto\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhyperledger-indy%2Findy-crypto","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhyperledger-indy%2Findy-crypto","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhyperledger-indy%2Findy-crypto/lists"}