package
0.0.0-20210405173606-cd9060f5f776
Repository: https://github.com/kevinburke/nacl.git
Documentation: pkg.go.dev

# Functions

EasyOpen decrypts box using key.
EasySeal encrypts message using peersPublicKey and privateKey.
GenerateKey generates a new public/private key pair suitable for use with Seal and Open.
Open authenticates and decrypts a box produced by Seal and appends the message to out, which must not overlap box.
OpenAfterPrecomputation performs the same actions as Open, but takes a shared key as generated by Precompute.
Precompute calculates the shared key between peersPublicKey and privateKey and writes it to sharedKey.
Seal appends an encrypted and authenticated copy of message to out, which will be Overhead bytes longer than the original and must not overlap.
SealAfterPrecomputation performs the same actions as Seal, but takes a shared key as generated by Precompute.

# Constants

Overhead is the number of bytes of overhead when boxing a message.