changeset 18 | be944660c56a |
parent 16 | a86126ab1dd4 |
child 21 | 48c4eec2b7e6 |
17:34716fd837a4 | 18:be944660c56a |
---|---|
389 { |
389 { |
390 return ParagonIE_Sodium_Compat::crypto_kx( |
390 return ParagonIE_Sodium_Compat::crypto_kx( |
391 $my_secret, |
391 $my_secret, |
392 $their_public, |
392 $their_public, |
393 $client_public, |
393 $client_public, |
394 $server_public |
394 $server_public, |
395 true |
|
395 ); |
396 ); |
396 } |
397 } |
397 } |
398 } |
398 if (!is_callable('\\Sodium\\crypto_pwhash')) { |
399 if (!is_callable('\\Sodium\\crypto_pwhash')) { |
399 /** |
400 /** |