Blockchain Crypto Service Provider alias BCCSP in Hyperledger Fabric

Blockchain Crypto Service Provider

Elli Androulaki, Angelo De Caro, Volodymyr (V.) Paprotski, Alessandro Sorniotti, Tamas Visegrady

What is the BCCSP?

BCCSP is the Blockchain Cryptographic Service Provider that offers the implementation of cryptographic standards and algorithms.

bccsp.go

type BCCSP interface {
GenKey(opts GenKeyOpts) (k Key, err error)

DeriveKey(k Key, opts DeriveKeyOpts) (dk Key, err error)
GetKey(ski []byte) (k Key, err error)
ImportKey(raw []byte, opts ImportKeyOpts) (k Key, err error)
Sign(k Key, digest []byte, opts SignerOpts) (signature []byte, err error) Verify(k Key, signature, digest []byte) (valid bool, err error)

Encrypt(k Key, plaintext []byte, opts EncrypterOpts) (ciphertext []byte, err error) Decrypt(k Key, ciphertext []byte, opts DecrypterOpts) (plaintext []byte, err error)

}

About BCCSP can be downloaded from here :

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s