Skip to content

A TypeScript library for OPAQUE Asymmetric Password-Authenticated Key Exchange Protocol

License

Notifications You must be signed in to change notification settings

cloudflare/opaque-ts

opaque-ts

This is a Typescript library for the Asymmetric Password-Authenticated Key Exchange (OPAQUE) protocol.

NPM

Use

Available at: @cloudflare/opaque-ts

npm install @cloudflare/opaque-ts

Specification

IETF Draft: OPAQUE v07

Test and Coverage

npm ci
npm test

Dependencies

Uses @cloudflare/voprf-ts for the group and OPRF operations, WebCrypto API for hashing and key derivation functions, and @noble/hashes for scrypt memory-hard function.

License

BSD-3-Clause