2 Commits

Author SHA1 Message Date
Daniel Holmgren
2e94c43010
Cleanup @atproto/crypto (#1218)
* remove webcrypto, upgrade @noble/curves, normalize p256 interface

* cleanup

* Test vectors for secp and p256 signature verification (#737)

Add test vectors for secp and p256 signature verification

* fix up test vectors

* add explicit test vectors for high-s signatures

* tidy json to pass verify check

---------

Co-authored-by: devin ivy <devinivy@gmail.com>
2023-06-26 18:47:28 -05:00
Daniel Holmgren
3c3569d808
Use TypedArrays instead of ArrayBuffers with WebCrypto (#742)
* pass in ui8array not array buffer to webcrypto

* added test
2023-03-31 18:43:28 -05:00