Skip to content

Commit

Permalink
sodium format fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Hai Zheng committed Nov 12, 2024
1 parent 93d51df commit c38f880
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cloud.cls.php
Original file line number Diff line number Diff line change
Expand Up @@ -444,7 +444,7 @@ private function _sign_b64($data)

return false;
}
$signature = sodium_crypto_sign_detached($data, $sk);
$signature = sodium_crypto_sign_detached((string)$data, $sk);
return base64_encode($signature);
}

Expand Down

0 comments on commit c38f880

Please sign in to comment.