{"id":18451478,"url":"https://github.com/trasherdk/node-cryptonight-hashing","last_synced_at":"2026-05-02T06:33:47.339Z","repository":{"id":103287293,"uuid":"161411663","full_name":"trasherdk/node-cryptonight-hashing","owner":"trasherdk","description":"Cryptonight hashing functions for node.js","archived":false,"fork":false,"pushed_at":"2018-12-23T14:11:32.000Z","size":1295,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-20T00:55:09.620Z","etag":null,"topics":["algorithm","cryptocurrency","mining-pool","nodejs","uplexa"],"latest_commit_sha":null,"homepage":null,"language":"C++","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/trasherdk.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2018-12-12T00:39:45.000Z","updated_at":"2022-05-06T17:54:28.000Z","dependencies_parsed_at":null,"dependency_job_id":"14f2b7a2-6d6e-4764-997a-7f1ea2ddf3df","html_url":"https://github.com/trasherdk/node-cryptonight-hashing","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/trasherdk/node-cryptonight-hashing","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trasherdk%2Fnode-cryptonight-hashing","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trasherdk%2Fnode-cryptonight-hashing/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trasherdk%2Fnode-cryptonight-hashing/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trasherdk%2Fnode-cryptonight-hashing/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/trasherdk","download_url":"https://codeload.github.com/trasherdk/node-cryptonight-hashing/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trasherdk%2Fnode-cryptonight-hashing/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32525890,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-02T01:12:54.858Z","status":"online","status_checked_at":"2026-05-02T02:00:05.923Z","response_time":132,"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":["algorithm","cryptocurrency","mining-pool","nodejs","uplexa"],"created_at":"2024-11-06T07:28:46.020Z","updated_at":"2026-05-02T06:33:47.308Z","avatar_url":"https://github.com/trasherdk.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"node-cryptonight-hashing\n===============\n\nCryptonight hashing functions for node.js.\n\n\nAlgorithms\n----------\n* cryptonight (v0, v1, v2, xtl, msr, rto, xao)\n* cryptonight-upx (v1)\n* cryptonight-light (v0, v1)\n* cryptonight-heavy (v0, xhv, tube)\n\nUsage\n-----\n\nInstall\n\n```bash\nnpm install https://github.com/uPlexa/node-cryptonight-hashing.git\n```\n\nSo far this native Node.js addon can do the following hashing algos\n\n```javascript\nvar multiHashing = require('cryptonight-hashing');\n\nvar algorithms = ['cryptonight', 'cryptonight_upx', 'cryptonight_light', 'cryptonight_heavy' ];\n// Way to go with the original format. Just wow, self.\n\nvar data = new Buffer(\"7000000001e980924e4e1109230383e66d62945ff8e749903bea4336755c00000000000051928aff1b4d72416173a8c3948159a09a73ac3bb556aa6bfbcad1a85da7f4c1d13350531e24031b939b9e2b\", \"hex\");\n\nvar hashedData = algorithms.map(function(algo){\n    return multiHashing[algo](data);\n});\n\n\nconsole.log(hashedData);\n\n// [ \u003cBuffer e9 7e f3 fc 03 6d 67 62 6e 54 54 7a 71 30 73 03 dc 5f a8 9b 9d f4 99 fe ea ef 9d 11 ac ad be 9b\u003e,\n//   \u003cBuffer f5 01 e0 d0 c7 88 90 bd 07 92 6a a8 a1 26 c4 f2 a6 72 4f f1 82 82 c1 01 61 61 12 e0 29 46 59 b9\u003e,\n//   \u003cBuffer f2 28 83 71 4c 99 87 b1 b4 da b7 92 60 e2 d4 96 12 43 28 ba 13 6f 54 68 53 f7 9b 1e d3 58 02 85\u003e ]\n\n```\n\nCredits\n-------\n* [XMrig](https://github.com/xmrig) - For advanced cryptonight implementations from [XMrig](https://github.com/xmrig/xmrig)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftrasherdk%2Fnode-cryptonight-hashing","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftrasherdk%2Fnode-cryptonight-hashing","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftrasherdk%2Fnode-cryptonight-hashing/lists"}