Versions in this module Expand all Collapse all v1 v1.1.0 Apr 12, 2019 Changes in this version + type CryptoSuite interface + GetHash func(opts HashOpts) (h hash.Hash, err error) + GetKey func(ski []byte) (k Key, err error) + Hash func(msg []byte, opts HashOpts) (hash []byte, err error) + KeyGen func(opts KeyGenOpts) (k Key, err error) + KeyImport func(raw interface{}, opts KeyImportOpts) (k Key, err error) + Sign func(k Key, digest []byte, opts SignerOpts) (signature []byte, err error) + Verify func(k Key, signature, digest []byte, opts SignerOpts) (valid bool, err error) + type HashOpts interface + Algorithm func() string + type Key interface + Bytes func() ([]byte, error) + Private func() bool + PublicKey func() (Key, error) + SKI func() []byte + Symmetric func() bool + type KeyGenOpts interface + Algorithm func() string + Ephemeral func() bool + type KeyImportOpts interface + Algorithm func() string + Ephemeral func() bool + type SignerOpts interface