aboutsummaryrefslogtreecommitdiffstats
path: root/go/main.go
diff options
context:
space:
mode:
Diffstat (limited to 'go/main.go')
-rw-r--r--go/main.go5
1 files changed, 5 insertions, 0 deletions
diff --git a/go/main.go b/go/main.go
index 880e3ce..956b8b2 100644
--- a/go/main.go
+++ b/go/main.go
@@ -115,6 +115,11 @@ func main() {
id2.SetStr(id.String())
fmt.Println("id2:", id2)
}
+ {
+ sec := bls.NewSecretKey()
+ sec.SetArray([]uint64{1, 2, 3, 4})
+ fmt.Println("sec=", sec)
+ }
fmt.Println("create secret key")
m := "this is a bls sample for go"