noble-ed25519
noble-ed25519 copied to clipboard
Fastest 4KB JS implementation of ed25519 signatures
Kept the changes minimal and the selection logic the same to avoid too big refactor of the building pipeline. Fix #40 Tested with the Jest test included, and a full...
> HashEdDSA, shortened as Ed25519ph when coupled with Edwards25519 (and where ph stands for "prehash").
Currently using this module with Deno requires you to use an import map which aliases `crypto` to `https://deno.land/[email protected]/node/crypto.ts`. This causes two issues: - This pulls in a massive amount of...
Hi there! Thanks for creating this :) After updating from `noble-ed25519 1.0.4` to `@noble/ed25519 1.33`, I got this error in an `http` context: `Na.web.subtle is undefined`. I'm not _entirely_ sure...
https://loup-vaillant.fr/articles/implementing-elligator It's hard to tell if it's supported for ed25519, or only for curve25519. Here's the implementation: ```typescript static fromRandomHex(hex: Hex) { const {a} = CURVE; hex = ensureBytes(hex); const...
While all the APIs in the new version are divided into `operation` and `operationAsync` the `sha512` has the following APIs: `etc.sha512Sync` `etc.sha512Async`