Versions in this module Expand all Collapse all v0 v0.5.0 Jul 17, 2025 Changes in this version + type BCCSP struct + func (m *BCCSP) Decrypt(k bccsp.Key, ciphertext []byte, opts bccsp.DecrypterOpts) (plaintext []byte, err error) + func (m *BCCSP) Encrypt(k bccsp.Key, plaintext []byte, opts bccsp.EncrypterOpts) (ciphertext []byte, err error) + func (m *BCCSP) GetHash(opts bccsp.HashOpts) (h hash.Hash, err error) + func (m *BCCSP) GetKey(ski []byte) (bccsp.Key, error) + func (m *BCCSP) Hash(msg []byte, opts bccsp.HashOpts) (hash []byte, err error) + func (m *BCCSP) KeyDeriv(k bccsp.Key, opts bccsp.KeyDerivOpts) (dk bccsp.Key, err error) + func (m *BCCSP) KeyGen(opts bccsp.KeyGenOpts) (k bccsp.Key, err error) + func (m *BCCSP) KeyImport(raw interface{}, opts bccsp.KeyImportOpts) (k bccsp.Key, err error) + func (m *BCCSP) Sign(k bccsp.Key, digest []byte, opts bccsp.SignerOpts) ([]byte, error) + func (m *BCCSP) Verify(k bccsp.Key, signature, digest []byte, opts bccsp.SignerOpts) (valid bool, err error) + type Key struct + func (t *Key) Bytes() ([]byte, error) + func (t *Key) Private() bool + func (t *Key) PublicKey() (bccsp.Key, error) + func (t *Key) SKI() []byte + func (t *Key) Symmetric() bool