cloudflare / opaque-ts

A TypeScript library for OPAQUE Asymmetric Password-Authenticated Key Exchange Protocol
BSD 3-Clause "New" or "Revised" License
82 stars 9 forks source link
crypto cryptography opaque pake password

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