{"id":18573910,"url":"https://github.com/basedwon/crpdo","last_synced_at":"2025-08-29T05:06:00.354Z","repository":{"id":185007158,"uuid":"672853089","full_name":"basedwon/crpdo","owner":"basedwon","description":"A unified cryptographic library integrating diverse modules to provide robust and versatile cryptographic solutions for Node.js and the browser.","archived":false,"fork":false,"pushed_at":"2023-11-02T04:23:29.000Z","size":39,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-08-09T04:03:39.225Z","etag":null,"topics":["cryptography","encryption","hashing","tweetnacl"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/basedwon.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":"docs/contributing.md","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":"2023-07-31T10:09:23.000Z","updated_at":"2023-08-01T08:49:33.000Z","dependencies_parsed_at":"2023-07-31T10:57:22.528Z","dependency_job_id":"f1515cd5-8df0-4115-8401-446f47f980d6","html_url":"https://github.com/basedwon/crpdo","commit_stats":null,"previous_names":["basedwon/crpdo"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/basedwon/crpdo","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/basedwon%2Fcrpdo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/basedwon%2Fcrpdo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/basedwon%2Fcrpdo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/basedwon%2Fcrpdo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/basedwon","download_url":"https://codeload.github.com/basedwon/crpdo/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/basedwon%2Fcrpdo/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":272631632,"owners_count":24967104,"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","status":"online","status_checked_at":"2025-08-29T02:00:10.610Z","response_time":87,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["cryptography","encryption","hashing","tweetnacl"],"created_at":"2024-11-06T23:13:22.499Z","updated_at":"2025-08-29T05:06:00.327Z","avatar_url":"https://github.com/basedwon.png","language":"JavaScript","readme":"# crpdo\n\n\u003e those who know, crpdo\n\n[![npm](https://img.shields.io/npm/v/crpdo?style=flat\u0026logo=npm)](https://www.npmjs.com/package/crpdo)\n[![pipeline](https://gitlab.com/basedwon/crpdo/badges/master/pipeline.svg)](https://gitlab.com/basedwon/crpdo/-/pipelines)\n[![license](https://img.shields.io/npm/l/crpdo)](https://gitlab.com/basedwon/crpdo/-/blob/master/LICENSE)\n[![downloads](https://img.shields.io/npm/dw/crpdo)](https://www.npmjs.com/package/crpdo)\n\n[![Gitlab](https://img.shields.io/badge/Gitlab%20-%20?logo=gitlab\u0026color=%23383a40)](https://gitlab.com/basedwon/crpdo)\n[![Github](https://img.shields.io/badge/Github%20-%20?logo=github\u0026color=%23383a40)](https://github.com/basedwon/crpdo)\n[![Twitter](https://img.shields.io/badge/@crpdowon%20-%20?logo=twitter\u0026color=%23383a40)](https://twitter.com/basdwon)\n[![Discord](https://img.shields.io/badge/Basedwon%20-%20?logo=discord\u0026color=%23383a40)](https://discordapp.com/users/basedwon)\n\nCrpdo, a unified cryptographic library, eases the intricacies of cryptographic tasks by integrating a diverse set of submodules. Each module - Crypto, Key, Merkle, and others - serves a unique purpose, and when combined, they deliver a robust cryptographic solution that caters to various security requirements.\n\n## Features\n\n- Comprehensive suite of cryptographic methods\n- Incorporates an array of modules including `coins`, `crypto`, `key`, `merkle` and `time`, and more...\n- Extensive test coverage to ensure functionality and security\n- Cross-environment support: Node.js and the browser\n\n## Modules\n\nUnder a common namespace, Crpdo re-exports these submodules, thus offering a streamlined interface for engaging with a broad array of cryptographic operations.\n\n### Crypto\n\n`@crpdo/crypto`, the Crypto module, constitutes the cornerstone of the Crpdo library, furnishing an assortment of cryptographic utilities. The Crpdo class enhances these functionalities to include encryption, decryption, and key manipulation.\n\n### Key\n\nThe Key module, `@crpdo/key`, presents tools to generate and handle cryptographic keys, encompassing the creation of signing keys, boxing keys, and multi-keys.\n\n### Merkle\n\nThe Merkle module, `@crpdo/merkle`, focuses on the construction of Merkle trees, a crucial data structure in numerous cryptographic systems. \n\n### Time\n\nThe Time module, `@crpdo/time`, provides utilities revolving around time-based one-time password (TOTP) generation, verification, and Network Time Protocol (NTP) computations.\n\n### Coins\n\nThe Coins module, `@crpdo/coins`, offers a host of methods to manage a variety of cryptocurrencies, such as deriving paths for coin symbols, obtaining coin type IDs, and generating Bitcoin or Ethereum addresses for specific public keys.\n\n## Installation\n\n```sh\nnpm install crpdo\n```\n\n## Usage\n\nImport the crpdo library directly:\n\n```js\nconst Crypto = require('crpdo')\n\nconst hash = Crypto.hash('foo')\n// much much more...\nconst fooHash = hash('foo')\n// many algos\nconst secureFoo = hash.sha3('foo')\n```\n\nImport the submodules and crpdo through destructuring:\n\n```js\nconst { Crypto, Key, Merkle } = require('crpdo')\n// Now you can use Crypto, Key, and Merkle...\n```\n\n```js\nconst { Time, Crypto } = Crypto\n\nconst secret = 'my_secret'\n\n// Generate a TOTP\nconst totp = Time.code(secret)\nconsole.log(`Generated TOTP: ${totp}`)\n\n// Validate the TOTP\nconst isValid = Time.verify(totp, secret)\nconsole.log(`Valid TOTP: ${isValid}`) // =\u003e Valid TOTP: true\n\n// Many more functions...\n```\n\n## Documentation\n\n- [API Reference](/docs/api.md)\n\n## Tests\n\nIn order to run the test suite, simply clone the repository and install its dependencies:\n\n```bash\ngit clone https://gitlab.com/basedwon/crpdo.git\ncd basd\nnpm install\n```\n\nTo run the tests:\n\n```bash\nnpm test\n```\n\n## Contributing\n\nThank you! Please see our [contributing guidelines](/docs/contributing.md) for details.\n\n## Donations\n\nIf you find this project useful and want to help support further development, please send us some coin. We greatly appreciate any and all contributions. Thank you!\n\n**Bitcoin (BTC):**\n```\n1JUb1yNFH6wjGekRUW6Dfgyg4J4h6wKKdF\n```\n\n**Monero (XMR):**\n```\n46uV2fMZT3EWkBrGUgszJCcbqFqEvqrB4bZBJwsbx7yA8e2WBakXzJSUK8aqT4GoqERzbg4oKT2SiPeCgjzVH6VpSQ5y7KQ\n```\n\n## License\n\ncrpdo is [MIT licensed](https://gitlab.com/basedwon/crpdo/-/blob/master/LICENSE).\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbasedwon%2Fcrpdo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbasedwon%2Fcrpdo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbasedwon%2Fcrpdo/lists"}