【源码阅读】用Go语言实现环签名的签名和验证(二)

func hashToInt(hash []byte, c elliptic.Curve) *big.Int { orderBits := c.Params().N.BitLen() orderBytes := (orderBits + 7) / 8 if len(hash) > orderBytes { hash = hash[:orderBytes]
相关文章
相关标签/搜索