isCurve25519Kex

fnbool isCurve25519Kex(scope const(char)[] name) pure nothrow @safe @nogc

Whether a KEX name selects the curve25519-sha256 method.

Both wire names run the identical X25519 construction with SHA-256; they differ only in advertisement.

Parameters

nameOffered or negotiated kex_algorithms name.

Returns

true for either curve25519 wire name.