package
5.3.0
Repository: https://github.com/micro/go-micro.git
Documentation: pkg.go.dev

# Packages

Package box is an asymmetric implementation of config/secrets using nacl/box.
Package secretbox is a config/secrets implementation that uses nacl/secretbox to do symmetric encryption / verification.

# Functions

Key sets the symmetric secret key.
PrivateKey sets the asymmetric Private Key of this codec.
PublicKey sets the asymmetric Public Key of this codec.
RecipientPublicKey is the Public Key of the Secrets that will decrypt this message.
SenderPublicKey is the Public Key of the Secrets that encrypted this message.

# Structs

DecryptOptions can be passed to Secrets.Decrypt.
EncryptOptions can be passed to Secrets.Encrypt.

# Interfaces

Secrets encrypts or decrypts arbitrary data.

# Type aliases

DecryptOption sets DecryptOptions.
EncryptOption Sets EncryptOptions.
Option sets options.