package
0.2.38
Repository: https://github.com/chairou/toolbox.git
Documentation: pkg.go.dev

# Packages

Package ecdh encrypts and decrypts data using elliptic curve keys.
Package padding adds and removes padding for AES-CBC mode.
Package symcrypt contains common symmetric encryption functions.

# Functions

DecodePEMPrivateKey decodes the PEM format for the elliptic PrivateKey.
DecodePEMPublicKey decodes the PEM format for the elliptic PublicKey.
GenerateKeys creates a new public and private key pair.
UnmarshalPrivateKey loads a PrivateKey from a marshalled byte slice.
UnmarshalPublicKey loads a PublicKey from a marshalled byte slice.

# Structs

PrivateKey is the elliptic private key.
PublicKey is the elliptic public key.