Files
xgcl/sm/sm2/ec256/tools.go
T
2026-05-27 23:03:00 +08:00

9 lines
125 B
Go

package ec256
import "math/big"
func bigFromBase16(s string) *big.Int {
n, _ := new(big.Int).SetString(s, 16)
return n
}