{"id":23073823,"url":"https://github.com/distributed-lab/circom-dl","last_synced_at":"2025-04-03T11:28:35.876Z","repository":{"id":266483263,"uuid":"879648336","full_name":"distributed-lab/circom-dl","owner":"distributed-lab","description":null,"archived":false,"fork":false,"pushed_at":"2025-02-17T16:25:27.000Z","size":31095,"stargazers_count":7,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-02-17T17:32:53.080Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Circom","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/distributed-lab.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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,"publiccode":null,"codemeta":null}},"created_at":"2024-10-28T09:54:38.000Z","updated_at":"2025-02-05T11:53:40.000Z","dependencies_parsed_at":"2024-12-19T14:21:23.076Z","dependency_job_id":"0095b3af-4ec7-4f3a-bade-3b4d93d56ceb","html_url":"https://github.com/distributed-lab/circom-dl","commit_stats":null,"previous_names":["distributed-lab/circom-dl"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/distributed-lab%2Fcircom-dl","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/distributed-lab%2Fcircom-dl/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/distributed-lab%2Fcircom-dl/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/distributed-lab%2Fcircom-dl/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/distributed-lab","download_url":"https://codeload.github.com/distributed-lab/circom-dl/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246992078,"owners_count":20865769,"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-12-16T08:19:42.905Z","updated_at":"2025-04-03T11:28:35.857Z","avatar_url":"https://github.com/distributed-lab.png","language":"Circom","funding_links":[],"categories":[],"sub_categories":[],"readme":"# circom-dl\n\ncircom-dl is a a library implementing zk cryptographic primitives.\n\nCurrently, it supports:\n- *bitInt* arithmetic. Used to implement operation of field that is larger than the field size of the underlying curve (e.g. bn128).\n- *ec* arithmetic. Weierstrass elliptic curve over prime field operations. Non supported Weierstrass curves over prime field can be easily added by following instructions in curve.circom. Currently supports:\n    - brainpool224r1\n    - brainpoolP256r1\n    - brainpoolP320r1\n    - brainpoolP384r1\n    - brainpoolP512r1\n    - secp192r1\n    - secp224r1\n    - secp256r1\n    - secp256k1\n    - secp384r1\n    - secp521r1\n    - *to be continued*\n\n- *babyjubjub* arithmetic. Used for curve with the same field as circom field (subgroup of bn128).\n- *hasher*. Implemets different hash functions. Currently supports:\n    - SHA1\n    - SHA224\n    - SHA256\n    - SHA384\n    - SHA512\n    - Keccak256\n    - Poseidon\n    - *to be continued*\n\n- *signatures*. Implemets different signature schemes. Currently supports:\n    - ECDSA (on supported curves ^)\n    - RSA with Pkcs1v15 padding for any field size, supported hash functions (Only sha1 and sha2-256 for now) and any exponent\n    - RSA-PSS\n        - SHA384 \u0026\u0026 SALT_LEN == 48\n        - SHA256 \u0026\u0026 SALT_LEN == 64\n        - SHA256 \u0026\u0026 SALT_LEN == 32\n        - SHA512 \u0026\u0026 SALT_LEN == 64\n    - *to be continued*\n\n- *eth*. Impements exracting eth address from public key.\n- *float*. Implements fixed point float numbers.  Currently supports:\n    - Multiplication (both with and without ceiling)\n    - Inverse\n    - Exp\n    - Switch precision.\n\n- *matrix*. Implements matrix arithmetic. Currently supports:\n    - Multiplication\n    - Scalar multiplication\n    - Hadamard product\n    - Addition\n    - Transposition\n    - Determinant\n    - Matrix Power\n\n- *utils*. Some helper templates to make some base operations easier. Currently supports:\n    - Switcher\n\n- *int*. Implements some int arithmetic for nums \u003c underlying field(e.g. bn128). Currently supports:\n    - Inverse\n    - Log\n    - Sum of n elements\n    - Other templates can be unsecure, never use them in produnction!\n\n## SETUP\n\n```\nnpm install\n```\n\n## TESTS\n\n```\nnpm test\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdistributed-lab%2Fcircom-dl","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdistributed-lab%2Fcircom-dl","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdistributed-lab%2Fcircom-dl/lists"}