Pure PHP polyfill for ext/sodium
sodium_crypto_scalarmult_ristretto255()
that was producing incorrect results in PHP 8.1
ge_scalarmult()
New: Implements Ristretto255.
Ristretto is a technique for constructing prime order elliptic curve groups with non-malleable encodings. It extends Mike Hamburg's Decaf approach to cofactor elimination to support cofactor-8 curves such as Curve25519.
This is a new feature landing in PHP 8.1 for advanced users. Among other things, Ristretto allows you to easily build modern password-authenticated key exchanges, e.g. CPace.
Special thanks to Tony Arcieri, Frank Denis, Isis Lovecruft, Mike Hamburg, and Henry de Valence for making this release possible.
crypto_kx()
sodium_crypto_stream_xchacha20_xor
sodium_crypto_stream_xchacha20