{"id":71498,"library":"umbracle-go-eth-bn256","title":"Go Ethereum BN256","description":"Implements the Optimal Ate pairing over a 256-bit Barreto-Naehrig curve for bilinear group cryptography.","status":"active","version":"0.0.0-20230125114011-47cb310d9b0b","language":"go","source_language":null,"source_url":"https://github.com/umbracle/go-eth-bn256","tags":["cryptography","pairing","bn256","ethereum","bilinear"],"install":[{"cmd":"go get github.com/umbracle/go-eth-bn256","lang":"bash","label":"Install github.com/umbracle/go-eth-bn256"}],"dependencies":[],"imports":[{"symbol":"bn256","correct":"github.com/umbracle/go-eth-bn256"}],"quickstart":{"code":"package main\n\nimport (\n\t\"fmt\"\n\t\"github.com/umbracle/go-eth-bn256\"\n)\n\nfunc main() {\n\tg1 := new(bn256.G1).ScalarBaseMult(big.NewInt(1))\n\tfmt.Println(g1)\n}","lang":"go","description":"Creates a G1 point and performs scalar multiplication."},"warnings":[{"fix":"Use a more modern curve (e.g., BLS12-381) for new projects.","message":"Security level downgraded; no longer 128-bit secure due to advances in attacks.","severity":"breaking","affected_versions":"all"}],"env_vars":null,"search_vec":"'256':11 'ate':7 'barreto':14 'barreto-naehrig':13 'bilinear':18,25 'bit':12 'bn256':3,23 'cryptographi':20,21 'curv':16 'ethereum':2,24 'go':1 'group':19 'implement':4 'naehrig':15 'optim':6 'pair':8,22","created_at":"2026-06-17T18:27:57.979796+00:00","updated_at":"2026-06-17T18:27:57.979796+00:00","problems":[],"ecosystem":"go","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":"https://github.com/umbracle/go-eth-bn256","github":"https://github.com/umbracle/go-eth-bn256","docs":"https://pkg.go.dev/github.com/umbracle/go-eth-bn256#section-documentation","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["crypto"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-17","next_check":"2026-12-14","install_tag":null}}