P256 Support
The default implementation uses ristretto255 (opens in a new tab) for the OPRF and the group mode.
If you would like to use the P-256 (opens in a new tab) curve instead, you can use the @serenity-kit/opaque-p256 (opens in a new tab) package. The API is identical.
If you would like to use the npx
cli commands you can run:
# create server setup
npx @serenity-kit/opaque-p256@latest create-server-setup
# get server public key
npx @serenity-kit/opaque-p256@latest get-server-public-key "<server setup string>"