Skip to content

v1.0.4

Choose a tag to compare

@jose-compu jose-compu released this 17 Nov 18:26
· 22 commits to main since this release

Release v1.0.4 - Browser Support for EC VRF

New Features

  • ✅ EC VRF now works in browsers using WebCrypto API
  • ✅ Async APIs for browser: createAsync(), getPublicKeyAsync(), getVRFProofAsync(), verifyVRFProofAsync()
  • ✅ Node.js backward compatibility maintained with sync APIs
  • ✅ All 46 tests passing

Changes

  • Added WebCrypto API support for EC VRF operations
  • Created ECDH wrapper for browser compatibility
  • Added hashAsync() function for WebCrypto hashing
  • Updated README with browser usage examples

Browser Support

  • EC VRF (EC_VRF_P256_SHA256_TAI) now works in browsers
  • RSA VRFs still require Node.js (node-rsa dependency)
  • Browser bundle: 112KB minified