SshKexCurve25519¶
X25519 key exchange using EVP_PKEY with NID_X25519 (1034).
Constructors¶
create¶
Returns¶
- SshKexCurve25519 ref^ ?
Public Functions¶
public_key¶
Returns¶
derive_shared_secret¶
fun box derive_shared_secret(
peer_public: Array[U8 val] val)
: (Array[U8 val] val | SshCryptoError)
Parameters¶
Returns¶
- (Array[U8 val] val | SshCryptoError)