package
0.0.0-20250117074236-2ff0d9ba57f2
Repository: https://github.com/latticebclab/go-lattice.git
Documentation: pkg.go.dev
# Functions
No description provided by the author
No description provided by the author
NewECDHEExchange initializes a new ECDHEExchange.
RandomBytes generates random bytes.
Sm4ECB encrypts the data using SM4 ECB mode.
WithCurve returns an OptFunc that sets the curve for the ECDH exchange.
WithFormatFunc returns an OptFunc that sets the format function for the ECDH exchange.
WithHashFunc returns an OptFunc that sets the hash function for the ECDH exchange.
WithKeySize returns an OptFunc that sets the key size for the ECDH exchange.
WithSymEncryptFunc returns an OptFunc that sets the symmetric encryption function for the ECDH exchange.
# Structs
AccessKey is the access key for the ECDH exchange.
No description provided by the author
ExchangeParams is the parameters for the ECDH exchange.
ExchangeResult is the result of the ECDH exchange.
Opts is the options for the ECDH exchange.
# Interfaces
No description provided by the author
# Type aliases
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author