Skip to content

Commit

Permalink
Fix sodium_compat integration
Browse files Browse the repository at this point in the history
  • Loading branch information
paragonie-security committed Apr 20, 2024
1 parent f58da3a commit 8b2800f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Curve25519/X25519.php
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ public function __construct(PrivateKeyInterface $sk = null, PublicKeyInterface $
*/
public function scalarMult(): string
{
return \ParagonIE_Sodium_Compat::crypto_scalarmult(
return \sodium_crypto_scalarmult(
$this->sk->getAsString(),
$this->pk->getAsString()
);
Expand Down

0 comments on commit 8b2800f

Please sign in to comment.