Skip to content

SshKexCurve25519

[Source]

X25519 key exchange using EVP_PKEY with NID_X25519 (1034).

class ref SshKexCurve25519

Constructors

create

[Source]

new ref create()
: SshKexCurve25519 ref^ ?

Returns


Public Functions

public_key

[Source]

fun box public_key()
: Array[U8 val] val

Returns


derive_shared_secret

[Source]

fun box derive_shared_secret(
  peer_public: Array[U8 val] val)
: (Array[U8 val] val | SshCryptoError)

Parameters

Returns