# Packages
No description provided by the author
Package tinkcrypto provides the default implementation of the common pkg/common/api/crypto.Crypto interface and the SPI pkg/framework/aries.crypto interface
It uses github.com/tink/go crypto primitives.
No description provided by the author
# Functions
ToECKey converts key to an ecdsa public key.
WithEPK option is to instruct the key wrapping function of the ephemeral key to be used in the wrapping process.
WithSender option is for setting a sender key with crypto wrapping (eg: AuthCrypt).
WithTag option is to instruct the key wrapping function of the authentication tag to be used in the wrapping process.
WithXC20PKW option is a flag option for crypto wrapping.
# Constants
DefKeySize is the default key size for crypto primitives.
# Type aliases
Crypto interface provides all crypto operations needed in the Aries framework.
PrivateKey mainly used to exchange ephemeral private key in JWE encrypter.
PublicKey mainly to exchange EPK in RecipientWrappedKey.
RecipientWrappedKey contains recipient key material required to unwrap CEK.
WrapKeyOpts are the crypto.Wrap key options.