MCPcopy Create free account
hub / github.com/DistributedML/Biscotti / Example_diffieHellman

Function Example_diffieHellman

lib/dedis/kyber/examples/dh_test.go:17–49  ·  view source on GitHub ↗

* This example illustrates how to use the crypto toolkit's kyber.group API to perform basic Diffie-Hellman key exchange calculations, using the NIST-standard P256 elliptic curve in this case. Any other suitable elliptic curve or other cryptographic group may be used simply by changing the first line

()

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 7

NewMethod · 0.65
PickMethod · 0.65
ScalarMethod · 0.65
MulMethod · 0.65
PointMethod · 0.65
EqualMethod · 0.65
StringMethod · 0.65

Tested by

no test coverage detected