{"id":39500082,"url":"https://github.com/ngchain/cryptonight-go","last_synced_at":"2026-01-18T05:46:20.252Z","repository":{"id":57485222,"uuid":"192523159","full_name":"ngchain/cryptonight-go","owner":"ngchain","description":"NGIN PoW algorithm, a variant of cryptonight in golang","archived":false,"fork":false,"pushed_at":"2020-04-08T11:43:37.000Z","size":59,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-06-21T11:03:38.811Z","etag":null,"topics":["algorithm","cryptonight"],"latest_commit_sha":null,"homepage":"","language":"Go","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/ngchain.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}},"created_at":"2019-06-18T11:03:20.000Z","updated_at":"2023-08-04T05:20:37.000Z","dependencies_parsed_at":"2022-08-26T13:23:32.778Z","dependency_job_id":null,"html_url":"https://github.com/ngchain/cryptonight-go","commit_stats":null,"previous_names":["ngin-network/cryptonight-go"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ngchain/cryptonight-go","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ngchain%2Fcryptonight-go","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ngchain%2Fcryptonight-go/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ngchain%2Fcryptonight-go/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ngchain%2Fcryptonight-go/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ngchain","download_url":"https://codeload.github.com/ngchain/cryptonight-go/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ngchain%2Fcryptonight-go/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28531453,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-18T00:39:45.795Z","status":"online","status_checked_at":"2026-01-18T02:00:07.578Z","response_time":98,"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","cryptonight"],"created_at":"2026-01-18T05:46:19.734Z","updated_at":"2026-01-18T05:46:20.244Z","avatar_url":"https://github.com/ngchain.png","language":"Go","readme":"# CrptoNight-go\n\nA new variant of the origin cryptonight algorithm\n\n## Goal?\n\nFully written on Golang. Can be easily compiled to every platform.\n\nFor faster hashrate. The hash faster, the synchronization faster.\n\nFor ASIC-resistance. ASIC-resistance is required to keep network safe.\n\n## What's changed?\n\nWe studied other CryptoNight variants like lite, turtle upx and so on.\n\nAt first, changing the **Iteration** from 524,288 to **65,536**, it will lead to much less iterating simple calculations. The hashrate will get quite a increases.\n\nThen is turn to change the **Scratchpad**. As everyone known, the key to ASIC-resistant in CryotoNote series coins is that Scratchpad make the CryptoNight algorithm memory-hard. We’re dropping the scratch pad size in fourth, from From 2MB to **512KB**. And the hashrate gets around 8 times.\n\nAfter boosting the speed of hashing, we changed the finalHash period to ensure the ASIC-resistance.\n\nWe added 8 more algorithm, and let them randomly occur according by the number, which equals the first byte of the last sum result mods 12. It's similar to X16r, but not same. \n\nAs for why the memory-hard in CryptoNight and randomness in X16r lead to ASIC-resistance, there are more authoritative papers on internet or bitcointalk. So we will not talk this on such a little repo README.\n\n## Ref\n\nmost codes forked from `github.com/Equim-chan/cryptonight`.\n\nModified by ngin-network Team.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fngchain%2Fcryptonight-go","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fngchain%2Fcryptonight-go","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fngchain%2Fcryptonight-go/lists"}