Versions in this module Expand all Collapse all v1 v1.0.0 Mar 3, 2023 Changes in this version + func GetKey(newkey bccsp.Key) core.Key + func NewCryptoSuite(bccsp bccsp.BCCSP) core.CryptoSuite + type CryptoSuite struct + BCCSP bccsp.BCCSP + func (c *CryptoSuite) GetHash(opts core.HashOpts) (h hash.Hash, err error) + func (c *CryptoSuite) GetKey(ski []byte) (k core.Key, err error) + func (c *CryptoSuite) Hash(msg []byte, opts core.HashOpts) (hash []byte, err error) + func (c *CryptoSuite) KeyGen(opts core.KeyGenOpts) (k core.Key, err error) + func (c *CryptoSuite) KeyImport(raw interface{}, opts core.KeyImportOpts) (k core.Key, err error) + func (c *CryptoSuite) Sign(k core.Key, digest []byte, opts core.SignerOpts) (signature []byte, err error) + func (c *CryptoSuite) Verify(k core.Key, signature, digest []byte, opts core.SignerOpts) (valid bool, err error)