github.com/chain5j/chain5j-pkg@v1.0.7/crypto/signature/secp256k1/curve.go (about)

     1  // Package secp256k1
     2  //
     3  // @author: xwc1125
     4  package secp256k1
     5  
     6  import (
     7  	"crypto/elliptic"
     8  
     9  	"github.com/chain5j/chain5j-pkg/crypto/signature/secp256k1/btcecv1"
    10  )
    11  
    12  // S256 returns an instance of the secp256k1 curve.
    13  func S256() elliptic.Curve {
    14  	return btcecv1.S256()
    15  }