Discover Packages
git-hk.118487.xyz/shtczhu/crypto
curve25519
package
Version:
v0.0.0-...-5295e83
Opens a new window with list of versions in this module.
Published: Sep 27, 2018
License: BSD-3-Clause
Opens a new window with license information.
Imports: 0
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
Rendered for
linux/amd64
windows/amd64
darwin/amd64
js/wasm
Package curve25519 provides an implementation of scalar multiplication on
the elliptic curve known as curve25519. See https://cr.yp.to/ecdh.html
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(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
¶
Click to show internal directories.
Click to hide internal directories.