//
pkg.gl
Category
github.com/brutella/hc
crypto
curve25519
package
1.2.5
Repository:
https://github.com/brutella/hc.git
Documentation:
pkg.go.dev
Versions
2
Dependencies
2
Dependents
16
Files
25 SLOC
#
Functions
GeneratePrivateKey
GeneratePrivateKey returns random bytes.
PublicKey
PublicKey returns a Curve25519 public key derived from privateKey.
SharedSecret
SharedSecret returns a Curve25519 shared secret derived from privateKey and otherPublicKey.