32GIIFWR6CUE24WCZJHM2D76QVXV4SNPOUNXJB62LGALJJSWCZUQC
let client_supports_ext = Self::select(&[kex::CLIENT_SUPPORTS_EXT], kex_string).is_some();
let server_supports_ext = Self::select(&[kex::SERVER_SUPPORTS_EXT], kex_string).is_some();
let client_supports_ext = if pref.is_server {
Self::select(&[kex::CLIENT_SUPPORTS_EXT], kex_string).is_some()
} else {
pref.kex.iter().any(|x| x == &kex::CLIENT_SUPPORTS_EXT)
};
let server_supports_ext = if pref.is_server {
pref.kex.iter().any(|x| x == &kex::SERVER_SUPPORTS_EXT)
} else {
Self::select(&[kex::SERVER_SUPPORTS_EXT], kex_string).is_some()
};
let client_supports_strict = Self::select(&[kex::STRICT_C], kex_string).is_some();
let server_supports_strict = Self::select(&[kex::STRICT_S], kex_string).is_some();
let client_supports_strict = if pref.is_server {
Self::select(&[kex::STRICT_C], kex_string).is_some()
} else {
pref.kex.iter().any(|x| x == &kex::STRICT_C)
};
let server_supports_strict = if pref.is_server {
pref.kex.iter().any(|x| x == &kex::STRICT_S)
} else {
Self::select(&[kex::STRICT_S], kex_string).is_some()
};