https://github.com/cloudflare/opaque-ts
A TypeScript library for OPAQUE Asymmetric Password-Authenticated Key Exchange Protocol
https://github.com/cloudflare/opaque-ts
crypto cryptography opaque pake password
Last synced: 6 months ago
JSON representation
A TypeScript library for OPAQUE Asymmetric Password-Authenticated Key Exchange Protocol
- Host: GitHub
- URL: https://github.com/cloudflare/opaque-ts
- Owner: cloudflare
- License: bsd-3-clause
- Created: 2022-02-08T18:17:50.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2024-10-01T01:25:37.000Z (about 1 year ago)
- Last Synced: 2025-03-28T07:08:07.338Z (6 months ago)
- Topics: crypto, cryptography, opaque, pake, password
- Language: TypeScript
- Homepage:
- Size: 312 KB
- Stars: 87
- Watchers: 15
- Forks: 10
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# opaque-ts
This is a Typescript library for the Asymmetric Password-Authenticated Key Exchange (OPAQUE) protocol.
[](https://www.npmjs.com/package/@cloudflare/opaque-ts)
## Use
Available at: [@cloudflare/opaque-ts](https://www.npmjs.com/package/@cloudflare/opaque-ts)
```sh
npm install @cloudflare/opaque-ts
```## Specification
IETF Draft: [OPAQUE v07](https://datatracker.ietf.org/doc/html/draft-irtf-cfrg-opaque-07)
## Test and Coverage
```sh
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](LICENSE.txt)