The highest tagged major version is
v2 .
Discover Packages
decred.org/cspp
x25519
package
Version:
v0.4.0
Opens a new window with list of versions in this module.
Published: Feb 5, 2021
License: ISC
Opens a new window with license information.
Imports: 2
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
Package x25519 implements ECDHE over curve25519.
ValidScalar returns whether a secret X25519 scalar was properly constructed.
KX is the client-generated public and secret portions of a key exchange.
New begins a new key exchange by generating a public and secret value.
Public portions must be exchanged between parties to derive a shared secret
key.
SharedKey computes a shared key with the other party from our secret value
and their public value. The result should be securely hashed before usage.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.