drupflare/worker - v1.0.4
    Preparing search index...

    Module site/shims/sodium-curve

    Curve25519, Ed25519 and ristretto255 for the sodium stand-in, over @noble/curves.

    Group, field and scalar arithmetic is noble's. This file keeps the libsodium behaviour around it: which encodings are refused, the key used in the signing hash, and the 256-bit wrap in scalar.add and scalar.sub. JavaScript BigInt is not constant-time, so this is not one.

    scalar
    ed25519FromSeed
    ed25519PublicToCurve
    ed25519SecretToCurve
    ed25519Sign
    ed25519Verify
    ristrettoAdd
    ristrettoFromHash
    ristrettoIsValid
    ristrettoMul
    scalarReduce
    x25519Base
    x25519Shared