func (c *CryptoSuite) KeyGen(opts apicryptosuite.KeyGenOpts) (k apicryptosuite.Key, err error) {
	key, err := c.BCCSP.KeyGen(opts)
	return GetKey(key), err
}
KeyGen is a wrapper of BCCSP.KeyGen
package wrapper
import (
	"hash"
	"github.com/hyperledger/fabric-sdk-go/api/apicryptosuite"
	"github.com/hyperledger/fabric-sdk-go/internal/github.com/hyperledger/fabric/bccsp"
	"github.com/hyperledger/fabric-sdk-go/pkg/logging"
)
var logger = logging.NewLogger("fabric_sdk_go")
func NewCryptoSuite(bccsp bccsp.BCCSP) apicryptosuite.CryptoSuite {
	return &CryptoSuite{
		BCCSP: bccsp,
	}
}
func GetKey(newkey bccsp.Key) apicryptosuite.Key {
	return &key{newkey}
}
type CryptoSuite struct {
	BCCSP bccsp.BCCSP
}