{"id":23353930,"url":"https://github.com/epicchainlabs/epicchain-native-cryptographic","last_synced_at":"2025-06-13T01:04:07.163Z","repository":{"id":232093548,"uuid":"782173030","full_name":"epicchainlabs/epicchain-native-cryptographic","owner":"epicchainlabs","description":"The Native EpicChain Cryptographic Functions for Python is a library that provides developers with a set of native Python functions for cryptographic operations specific to the EpicChain blockchain. ","archived":false,"fork":false,"pushed_at":"2024-04-04T19:27:13.000Z","size":10,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2024-12-21T09:17:06.961Z","etag":null,"topics":["blockchain-cryptography","blockchain-security","crypto-operations","cryptographic-functions","decentralized-security","epicchain-crypto-python","epicchain-integration","epicchain-security","python-blockchain-dev","python-library"],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/epicchainlabs.png","metadata":{"files":{"readme":"README.rst","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2024-04-04T19:23:48.000Z","updated_at":"2024-12-02T11:32:55.000Z","dependencies_parsed_at":"2024-04-08T01:03:12.444Z","dependency_job_id":"8c2ff2f7-ad5f-4368-8a53-4398897afa96","html_url":"https://github.com/epicchainlabs/epicchain-native-cryptographic","commit_stats":null,"previous_names":["epicchainlabs/epicchain-native-cryptographic"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/epicchainlabs%2Fepicchain-native-cryptographic","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/epicchainlabs%2Fepicchain-native-cryptographic/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/epicchainlabs%2Fepicchain-native-cryptographic/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/epicchainlabs%2Fepicchain-native-cryptographic/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/epicchainlabs","download_url":"https://codeload.github.com/epicchainlabs/epicchain-native-cryptographic/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":238734077,"owners_count":19521557,"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":["blockchain-cryptography","blockchain-security","crypto-operations","cryptographic-functions","decentralized-security","epicchain-crypto-python","epicchain-integration","epicchain-security","python-blockchain-dev","python-library"],"created_at":"2024-12-21T09:17:10.463Z","updated_at":"2025-02-13T20:49:51.628Z","avatar_url":"https://github.com/epicchainlabs.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n\nEpicChainVM\n------\nC++ implementations of cryptographic functions used in the EpicChain Blockchain with bindings for Python 3.10 \u0026 3.11.\n\nThe current version supports `mmh3` and EllipticCurve functions by wrapping (part of `smhasher \u003chttps://github.com/aappleby/smhasher\u003e`_ and `micro-ecc \u003chttps://github.com/kmackay/micro-ecc\u003e`_)\nand exposing helper classes. ``SECP256R1`` (a.k.a ``NIST256P``) and ``SECP256K1`` are the only curves exposed, but others can easily\nbe enabled if needed.\n\nInstallation\n~~~~~~~~~~~~\n::\n\n    pip install EpicChaincrypto\n\nOr download the wheels from the Github releases page.\n\nWindows users\n=============\nIf installing fails with the error ``No Matching distribution found`` then upgrade your Python installation to use the latest post release version (i.e. ``3.10.8`` instead of ``3.10.0``)\n\nUsage\n~~~~~\n\n::\n\n    import hashlib\n    import os\n    from epicchaincrypto import ECCCurve, ECPoint, sign, verify, mmh3_hash_bytes, mmh3_hash\n\n\n    curve = ECCCurve.SECP256R1\n    private_key = os.urandom(32)\n    public_key = ECPoint(private_key, curve)\n\n    signature = sign(private_key, b'message', curve, hashlib.sha256)\n    assert verify(signature, b'message', public_key, hashlib.sha256) == True\n\n    assert mmh3_hash(\"foo\", signed=False) == 4138058784\n    assert bytes.fromhex(\"0bc59d0ad25fde2982ed65af61227a0e\") == mmh3_hash_bytes(\"hello\", 123)\n\nAny hashlib hashing function can be used. Further documentation on the classes can be queried from the extension module\nusing ``help(epicchaincrypto)``.\n\nBuilding wheels\n~~~~~~~~~~~~~~~\nMake sure to have ``wheel`` and ``CMake`` installed. Then call ``python setup.py bdist_wheel``.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fepicchainlabs%2Fepicchain-native-cryptographic","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fepicchainlabs%2Fepicchain-native-cryptographic","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fepicchainlabs%2Fepicchain-native-cryptographic/lists"}