Rebol 编程/dh-compute-key
外观
< Rebol 编程
DH-COMPUTE-KEY obj public-key
从私钥/公钥对和对等方的公钥计算出最终协商的密钥。
DH-COMPUTE-KEY 是一个本机值。
- obj -- DH 密钥对象(类型:对象)
- public-key -- 对等方的公钥(类型:二进制)
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" ]