package curve25519
import "internal/x/crypto/curve25519"
Package curve25519 provides an implementation of scalar multiplication on the elliptic curve known as curve25519. See https://cr.yp.to/ecdh.html
Index ¶
Functions ¶
func ScalarBaseMult ¶
func ScalarBaseMult(dst, in *[32]byte)
ScalarBaseMult sets dst to the product in*base where dst and base are the x coordinates of group points, base is the standard generator and all values are in little-endian form.
func ScalarMult ¶
func ScalarMult(dst, in, base *[32]byte)
ScalarMult sets dst to the product in*base where dst and base are the x coordinates of group points and all values are in little-endian form.
Source Files ¶
- Version
- v1.12.4
- Published
- Apr 11, 2019
- Platform
- js/wasm
- Imports
- 1 packages
- Last checked
- 56 seconds ago –
Tools for package owners.