Registry / crypto / herumi-bls-go-binary

herumi-bls-go-binary

JSON →
library1.37.0gogounverified

Go bindings for the herumi BLS signature library, providing binary-compatible BLS operations.

go get github.com/herumi/bls-go-binary
INSTALL
IMPORT
SIG · HERUMI-BLS-GO-BINA
H
herumi-bls-go-binary
cryptogov1.37.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

bls
github.com/herumi/bls-go-binary

Initialize BLS and generate a secret key

package main import ( "fmt" "github.com/herumi/bls-go-binary/bls" ) func main() { bls.Init(bls.BLS12_381) var sec bls.SecretKey sec.SetByCSPRNG() fmt.Println("Secret key generated") }
Debug
Known issues
gotchaRequires CGO and external library installation
fix
Ensure the herumi BLS C++ library is installed and CGO is enabled
affects: all
Upgrade
Version history
1.37.0latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
16 hits · last 30 days
node
16
Resources
herumi-bls-go-binary — go get herumi-bls-go-binary · libregistry