411 REFERENCE · Wikibooks
Rebol Programming/dh-compute-key
Reference material by Wikibooks contributors. This retains its source identity and is not 411 news reporting.
USAGE:
DH-COMPUTE-KEY obj public-key
DESCRIPTION:
Computes the resulting, negotiated key from a
private/public key pair and the peer's public key.
DH-COMPUTE-KEY is a native value.
ARGUMENTS
obj -- The DH key object (Type: object)
public-key -- Peer's public key (Type: binary)
SOURCE CODE
dh-compute-key: native[
{Computes the resulting, negotiated key from a
^- private/public key pair and the peer's public key.}
obj [object!] "The DH key object"
public-key [binary!] "Peer's public key"
]